dart_lut 0.0.1 dart_lut: ^0.0.1 copied to clipboard
Dart implementation of 3D Look Up Tables.
Dart LUT3D #
The library for working with LUTs.
License #
project under MIT license
Changelogs #
Task List #
- ✅ Basic impl.
- ✅ Read .cube files
- ✅ Read another formats
- ✅ Store 3DLUT
- ❌ Generate LUTs by expression
- ❌ Verifying LUTs
- ✅ Applying 3D LUTs
- ❌ Applying 1D LUTs
- ❌ Optimize perfomance
- ❌ Clean up code
- ✅ Trilinear interpolation
- ❌ More tests
- ❌ Documentation
- ❌ Publish to PUB
0.0.1 #
- initial release
Instalation #
add dependency in pubsec.yaml
from pub.dartlang.org:
dependencies:
dart_lut: ^0.0.1
latest from github.com:
dependencies:
dart_lut:
git: git://github.com/NiKoTron/dart-lut.git
Usage #
generic example:
var lut = LUT.fromFile(File('example.cube'));
await lut.awaitLoading();
Image image = decodeImage(imageFile.readAsBytesSync());
var v = lut.applySync(image.getBytes());
var image2 = Image.fromBytes(image.width, image.height, v);
var outputFile = File('out.jpg')..writeAsBytesSync(encodeJpg(image2));