file_image_cropper 0.3.2 copy "file_image_cropper: ^0.3.2" to clipboard
file_image_cropper: ^0.3.2 copied to clipboard

Fast JPEG, PNG, and WebP cropping with a customizable Flutter UI and multithreaded Rust engine.

0.3.2 #

  • Added Swift Package Manager support for the shared iOS and macOS plugin while retaining CocoaPods compatibility.
  • Expanded dartdoc coverage across crop requests, regions, output options, and editor styling APIs.
  • Updated the native-assets build dependencies to their newest versions compatible with the minimum supported Flutter release.

0.3.1 #

  • Reorganized and simplified the README around installation, interactive and code-driven cropping, output configuration, customization, and file lifecycle.
  • Added clearer guidance for free-form selection, fixed aspect ratios, exact output dimensions, and format-specific encoding options.

0.3.0 #

  • Added static HEIC input and inspection on Android 9+, iOS, macOS, Windows, and Linux. Windows uses an installed WIC HEIF/HEVC decoder; Linux dynamically uses an installed libheif runtime with an HEVC decoder.
  • Added a direct borrowed-RGBA native ABI, keeping decoded pixels out of Dart and avoiding intermediate PNG files before Rust crop/resize/encode.
  • Added structured HeicCodecUnavailableException guidance with Microsoft HEIF Image Extensions and libheif links when an optional desktop codec is unavailable.
  • HEIC output, animated HEIF, AVIF, TIFF, and RAW remain unsupported.

0.2.0 #

  • Added verified prebuilt Rust libraries for Android, iOS, Linux, macOS, and Windows so application builds no longer require Rust by default.
  • Added SHA-256 validation, shared build-cache reuse, bounded downloads, and atomic replacement for downloaded native assets.
  • Added an explicit source-build fallback and a custom native-library override for development and controlled build environments.
  • Removed the unused C package template and its generated bindings from the build pipeline.

0.1.0 #

  • Added file-first JPEG, PNG, and static WebP inspection and processing.
  • Added crop, EXIF orientation normalization, nearest/bilinear resize, and JPEG/PNG/WebP conversion.
  • Added pixel, normalized, and centered crop regions, exact output pixel sizes, aspect-ratio policies, and viewport geometry helpers. The original pixel crop/resize request fields remain available as deprecated compatibility APIs.
  • Added an optional interactive CropEditor, customizable overlay/controller, and a ready-made FileImageCropperPage with replaceable app bar, body, controls, actions, loading, error, and processing UI.
  • Added configurable JPEG quality/background and lossy/lossless WebP options.
  • Added a persistent Dart worker isolate and bounded multithreaded Rust pixel processing.
  • Added atomic staged output commits, managed temporary results, safe cleanup, and explicit no-overwrite behavior, including native no-replace renames on Android, Linux, iOS, and macOS.
  • Added structured Dart and Rust errors and cross-platform native build checks.
  • Declared Android, iOS, Windows, macOS, and Linux support. Web, animated formats, HEIC/HEIF, AVIF, TIFF, and RAW are not supported in this release.
1
likes
140
points
212
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Fast JPEG, PNG, and WebP cropping with a customizable Flutter UI and multithreaded Rust engine.

Homepage
Repository (GitHub)
View/report issues

Topics

#image #crop #resize #ffi #rust

License

MIT (license)

Dependencies

code_assets, crypto, ffi, flutter, hooks, logging, native_toolchain_rust

More

Packages that depend on file_image_cropper

Packages that implement file_image_cropper