On Thu, 23 Jun 2005, Michal Paczek wrote:

Does anybody know how to use Littlecms functions in ImageMagick?
How to convert colorspace of Image object (c code api) with defined profile (ICC) ?

This is done via a ProfileImage() function. The profile is supplied as an in-memory BLOB. If the image does not already have a ICC profile attached to it, the call to ProfileImage() simply attaches to supplied profile to the image and no transformations are done to the pixels. If the image already has an ICC profile, then ProfileImage() invokes the CMS transform based on the two profiles to convert the image pixels to the target space.

The functioning is really simple and is definitely not a "system" but it works well in the hands of a CMS expert.

Bob
======================================
Bob Friesenhahn
[EMAIL PROTECTED], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to