I'm trying to use LCMS2 with a cairo image surface. The format of the
image data is CAIRO_FORMAT_ARGB32, which cairo defines as:
each pixel is a 32-bit quantity, with alpha in the upper 8 bits,
then red, then green, then blue. The 32-bit quantities are stored
native-endian. Pre-multiplied alpha
On 04/03/2014 11:58 AM, marti.ma...@littlecms.com wrote:
Hi Elle,
Sorry I didn't explain myself. I mean, when you actually
store a built-in profile to disk, you are forced to use
the ICC profile format. The ICC profile format has some
limitations when storing floating point numbers.
That
Hi Richard,
I'm trying to create a v4 D65 profile using
cmsCreateProfilePlaceholder() and settings values myself.
Fine.
If I understand correctly, all v4 profiles have to have a D50 whitepoint
and a 'chad' adaption tag to convert to and from the real whitepoint.
Well, this only applies
On 4 April 2014 22:28, marti.ma...@littlecms.com wrote:
Why? You can just do something like:
cmsMAT3 Matrix = {...};
cmsWriteTag(hProfile, cmsSigChromaticAdaptationTag, (void*) Matrix);
Ahh, I didn't know I could do this.
This works fine on profiles allocated by