jpeg_encode_ffi 0.0.1+1 copy "jpeg_encode_ffi: ^0.0.1+1" to clipboard
jpeg_encode_ffi: ^0.0.1+1 copied to clipboard

Encode images into Jpeg format through native FFI binding.

pub package GitHub stars GitHub forks GitHub license GitHub issues

Encode images into Jpeg format through native FFI binding.

example

Tip

If this package is useful to you, please remember to give it a star✨ (Pub | GitHub).

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).
1
likes
160
points
71
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

Encode images into Jpeg format through native FFI binding.

Repository (GitHub)
View/report issues

Topics

#jpeg #ffi #encode

Documentation

API reference

License

MIT (license)

Dependencies

ffi, flutter

More

Packages that depend on jpeg_encode_ffi

Packages that implement jpeg_encode_ffi