jpeg2000 0.0.4 copy "jpeg2000: ^0.0.4" to clipboard
jpeg2000: ^0.0.4 copied to clipboard

JPEG 2000 decoder written in Dart.

example/main.dart

import 'dart:typed_data';

import 'package:jpeg2000/jpeg2000.dart';

void main() {
  final codestream = Uint8List.fromList([
    0xff, 0x4f, 0xff, 0x51, 0x00, 0x29, 0x00, 0x00,
    // ...
  ]);

  final jpx = JpxImage();

  jpx.parse(codestream);

  print('width: ${jpx.width}');
  print('height: ${jpx.height}');
  print('components: ${jpx.componentsCount}');
  print('tiles:');
  print(jpx.tiles);
}
1
likes
0
points
403
downloads

Publisher

unverified uploader

Weekly Downloads

JPEG 2000 decoder written in Dart.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on jpeg2000