https://github.com/stephane-archer/flutter-jxl-coder
JpegXL encoding and decoding for Flutter
https://github.com/stephane-archer/flutter-jxl-coder
dart dartlang decoder encoder flutter flutter-image-compress flutter-package flutter-photography jpeg-xl jpeg-xl-decoder jpeg-xl-encoder jpegxl jxl jxl-decoder jxl-encoder mac
Last synced: 12 days ago
JSON representation
JpegXL encoding and decoding for Flutter
- Host: GitHub
- URL: https://github.com/stephane-archer/flutter-jxl-coder
- Owner: stephane-archer
- License: bsd-3-clause
- Created: 2024-11-15T17:24:21.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-11-27T22:47:22.000Z (10 months ago)
- Last Synced: 2025-04-07T05:33:05.779Z (6 months ago)
- Topics: dart, dartlang, decoder, encoder, flutter, flutter-image-compress, flutter-package, flutter-photography, jpeg-xl, jpeg-xl-decoder, jpeg-xl-encoder, jpegxl, jxl, jxl-decoder, jxl-encoder, mac
- Language: Dart
- Homepage: https://pub.dev/packages/jxl_coder
- Size: 1.12 MB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# JpegXL encoding and decoding for Flutter
## Usage
``` Dart
Uint8List jpegData = await file.readAsBytes();
final Uint8List? jxlData = await JxlCoder.jpegToJxl(jpegData);Uint8List jxlData = await file.readAsBytes();
final Uint8List? jpegData = await JxlCoder.jxlToJpeg(jxlData);await JxlCoder.saveJpegAsJxl(inputFile.path, outputFile.path);
await JxlCoder.saveJxlAsJpeg(inputFile.path, outputFile.path);
```