dart_lut 0.0.1 copy "dart_lut: ^0.0.1" to clipboard
dart_lut: ^0.0.1 copied to clipboard

outdated

Dart implementation of 3D Look Up Tables.

Dart LUT3D #

The library for working with LUTs.

License #

project under MIT license

Changelogs #

full changelog

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));
9
likes
0
pub points
12%
popularity

Publisher

verified publisherdart.tools

Dart implementation of 3D Look Up Tables.

Repository (GitHub)
View/report issues

License

unknown (license)

More

Packages that depend on dart_lut