image_guard 0.1.0-dev.1 copy "image_guard: ^0.1.0-dev.1" to clipboard
image_guard: ^0.1.0-dev.1 copied to clipboard

On-device image compression to an exact byte limit and resolution, with a Rust core. NSFW detection coming next.

0.1.0-dev.1 #

  • Rust core: decode (JPEG/PNG/WebP/GIF/BMP), EXIF orientation, Lanczos3 resize, JPEG/PNG encode.
  • Target-size search: output always <= maxBytes or cannotMeetTarget.
  • User-defined size (maxBytes) and resolution (maxWidth/maxHeight) with full validation.
  • Keeps inputs that already fit; lossless EXIF/GPS stripping.
  • Dart API: SafeImage.compress, SafeImage.info, SafeImageException.
1
likes
0
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

On-device image compression to an exact byte limit and resolution, with a Rust core. NSFW detection coming next.

Repository (GitHub)
View/report issues

Topics

#image #compression #ffi #rust

License

unknown (license)

Dependencies

flutter, flutter_rust_bridge

More

Packages that depend on image_guard

Packages that implement image_guard