jbig2 1.0.0
jbig2: ^1.0.0 copied to clipboard
Pure Dart JBIG2 codec: decodes standalone files and the embedded streams PDF's /JBIG2Decode filter carries, and encodes bi-level bitmaps back to either form. Runs on the VM, dart2js and dart2wasm.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add jbig2With Flutter:
$ flutter pub add jbig2This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
jbig2: ^1.0.0Alternatively, 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:jbig2/jbig2.dart';