openjpeg_ffi 0.3.1
openjpeg_ffi: ^0.3.1 copied to clipboard
Dart bindings to OpenJPEG for encoding and decoding raw JPEG2000 codestreams — native-assets FFI on native platforms, WebAssembly on web. No manual setup required either way.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add openjpeg_ffiWith Flutter:
$ flutter pub add openjpeg_ffiThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
openjpeg_ffi: ^0.3.1Alternatively, 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:openjpeg_ffi/openjpeg_ffi.dart';