mirror of
https://github.com/RGBCube/serenity
synced 2025-07-24 18:27:42 +00:00
![]() `lerp_nd()` is very similar to PDF::SampleFunction::evaluate(). But we know that the result is a FloatVector3 in the ICC code (at least for now), so we can save a bunch of redundant computation by returning all three channels of the LUT at once. This is enough for images using mAB with A curve / CLUT if the profile connecting space is PCSXYZ, such as for Upper_Right.jpg from https://www.color.org/version4html.xalter like so: % Build/lagom/icc --name sRGB --reencode-to serenity-sRGB.icc % Build/lagom/bin/image -o out.png \ --convert-to-color-profile serenity-sRGB.icc \ ~/Downloads/Upper_Right.jpg |
||
---|---|---|
.. | ||
BinaryFormat.h | ||
BinaryWriter.cpp | ||
BinaryWriter.h | ||
DistinctFourCC.h | ||
Profile.cpp | ||
Profile.h | ||
Tags.cpp | ||
Tags.h | ||
TagTypes.cpp | ||
TagTypes.h | ||
WellKnownProfiles.cpp | ||
WellKnownProfiles.h |