convert_native_img_stream 0.0.1 convert_native_img_stream: ^0.0.1 copied to clipboard
Converter utility for converting ImageFormatGroup.nv21 or ImageFormatGroup.bgra8888 to jpeg file (coming from camera stream)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add convert_native_img_stream
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
convert_native_img_stream: ^0.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:convert_native_img_stream/convert_native_img_stream.dart';