swipelab_webp 1.0.0
swipelab_webp: ^1.0.0 copied to clipboard
High-performance WebP image encoding for Dart using native libwebp via FFI. Supports both lossy and lossless compression with configurable quality.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add swipelab_webpWith Flutter:
$ flutter pub add swipelab_webpThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
swipelab_webp: ^1.0.0Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:swipelab_webp/swipelab_webp.dart';