ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 ICC Profile
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

eddy2099

8 Posts

Posted - Jul 03 2011 :  03:20:31  Show Profile  Reply
I understand that ImageEn supports the ICC Profile.

I need to process an incoming image (JPG or TIFF) which contains an ICC Color Profile. Each time I save the converted format, the ICC Color Profile is not brought over to the new image.

How do I go about doing that ? I just need to preserve the ICC Color Profile like how the EXIF Headers are preserved.

I was reading the section on the Color Management System but I really do not understand how to go about doing this.

I had the following code enabled

iegEnableCMS := true;

but after that I do not know how to proceed. I could not find any code examples to do this. I believe it is very simple but I just cannot figure it out.

I hope someone can help me see the light, hopefully with a simple code snippets.

Thank you very much.

fab

1310 Posts

Posted - Jul 04 2011 :  13:10:17  Show Profile  Reply
ImageEn uses the ICC profile to convert the image to sRGB color space, no more. Once the image is converted the profile will be discarded.
If you want to preserve the ICC profile, then you have to disable color profile handling of ImageEn, setting iegEnableCMS := false.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: