jpeg_encode_ffi 0.0.1+1
jpeg_encode_ffi: ^0.0.1+1 copied to clipboard
Encode images into Jpeg format through native FFI binding.
Encode images into Jpeg format through native FFI binding.
Getting Started #
dependencies:
jpeg_encode_ffi: ^0.0.1+1
import 'package:jpeg_encode_ffi/jpeg_encode_ffi.dart';
// Encode the image to a file in JPEG format.
encodeJpegImageToFile(ui.Image image, String path, {int quality = 95});
// Encode image pixels to file in JPEG format.
encodeJpegToFile(
Uint8List pixels,
int width,
int height,
int comp,
String path,
{int quality = 95}
)
Other Dart and Flutter libraries #
- flutter_hypertext: A highly extensible rich text widget that can automatically parse styles.
- flutter_ticker: A flutter text widget with scrolling text change animation.
- varint: A Dart library for encoding and decoding variable-length quantity (VLQ).