flutter_mozjpeg

Creator: coderz1093

Last updated:

0 purchases

flutter_mozjpeg Image
flutter_mozjpeg Images
Add to Cart

Description:

flutter mozjpeg

flutter_mozjpeg #
A Flutter wrapper for mozjpeg.
Getting Started #
iOS #
The pod mozjpeg must be redirected to my own fork just now. Add the following line to your ios/Podfile:
pod 'mozjpeg', :git => "https://github.com/espresso3389/mozjpeg.git"
copied to clipboard
Your Podfile may be like the following after adding the line:
...

target 'Runner' do
use_frameworks!
use_modular_headers!

pod 'mozjpeg', :git => "https://github.com/espresso3389/mozjpeg.git"

flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

...
copied to clipboard
Android #
Nothing to do.
Example #
import 'package:flutter_mozjpeg/flutter_mozjpeg.dart';

...

await FlutterMozjpeg.jpegCompressFileToFile(File('input.jpg'), File('output.jpg'));
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.