fc_native_image_resize 0.0.1 copy "fc_native_image_resize: ^0.0.1" to clipboard
fc_native_image_resize: ^0.0.1 copied to clipboard

outdated

A Flutter plugin for fast native image resizing.

fc_native_image_resize #

A Flutter plugin for fast native image resizing.

Usage #

final _nativeImgResize = FcNativeImageResize();

/// Resizes the given [srcFile] with the given parameters and saves the results to [destFile].
/// [srcFile] source image path.
/// [destFile] destination image path.
/// [keepAspectRatio] if true, keeps aspect ratio.
/// [type] specifies image type of destination file. 'png' or 'jpeg'.
/// [quality] only applies for 'jpeg' type, 1-100 (100 best quality).
await _nativeImgResize.resizeFile(
          srcFile: srcFile,
          destFile: destFile,
          width: 300,
          height: 300,
          keepAspectRatio: true,
          type: 'jpeg',
          quality: 90)
8
likes
0
points
1.71k
downloads

Publisher

verified publisherflutter-cavalry.com

Weekly Downloads

A Flutter plugin for fast native image resizing.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on fc_native_image_resize