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

This package provides a Flutter plugin to convert YUV image data into PNG image format. It includes platform-specific implementation code for Android only as this from my knowledge happens only in And [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add yuv_to_png

With Flutter:

 $ flutter pub add yuv_to_png

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  yuv_to_png: ^0.0.1

Alternatively, 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:yuv_to_png/yuv_to_png.dart';
4
likes
0
points
171
downloads

Publisher

unverified uploader

Weekly Downloads

This package provides a Flutter plugin to convert YUV image data into PNG image format. It includes platform-specific implementation code for Android only as this from my knowledge happens only in Android systems . The plugin takes in CameraImage image data in both yuv240 and nv21 and returns a PNG image in uint8;ist . This allows you to process camera frames, video frames etc captured natively in YUV format and convert them to PNG that can be displayed in Flutter when needed.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

camera, ffi, flutter, path_provider

More

Packages that depend on yuv_to_png

Packages that implement yuv_to_png