On Thu, 18 Aug 2005, Michal Paczek wrote:
fread (pchBuffer, 1, lSize, pFile);
ProfileImage(image, "ICC", pchBuffer, lSize, MagickFalse);
fclose (pFile);
free (pchBuffer);
[...]
----------------------------------------------------------------------
Is it ok?
Additionally I've found some information about this problem, so maybe it's
good idea to attach it to the post:
Something to notice in your code is that it takes two profiles in
order to complete a transform. If there is not already a profile
associated with the image, then you would need to execute
ProfileImage() twice. The first would be to assign the LAB profile to
the image and the second would be to transform to your target
colorspace.
So, it seems that the posting you found may have some merit. There
must already be an attached profile or else invoking ProfileImage()
would have no apparent effect. Maybe the currently attached profile
is wrong.
Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user