Skip to content
pubscout

fast_image_resizer

0.0.2, released 5 years ago by an unverified publisher

Resize images using native implementations with PNG output.

WASM-ready
$ flutter pub add fast_image_resizer
Source repository

What it does

Resizes various image formats (JPEG, PNG, GIF, WebP, BMP, WBMP) using native implementations for performance. It outputs the resized image exclusively as PNG.

AI-written summary of version 0.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to quickly resize images on-device using native performance.
  • You only require PNG as the output format for resized images.

Skip it when

  • You need output formats other than PNG, such as JPEG or WebP.
  • You require complex image manipulation or editing features beyond resizing.

Strengths

  • Uses native implementations for fast image resizing compared to pure Dart packages.
  • Supports multiple input formats including animated GIFs and WebP.
  • Zero dependencies.

Weaknesses

  • Supports only PNG as output.
  • Limited functionality focused solely on resizing.

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

not documented

final rawImage = await rootBundle.load('assets/someImage.png');
final bytes = await resizeImage(Uint8List.view(rawImage.buffer), width: 150);

Alternatives

Packages that do the same job and could replace fast_image_resizer.

  • image

    Provides extensive pure-Dart image decoding, encoding, and manipulation capabilities for various formats.