ICC Profile

Discussions about image processing and document imaging.
Post Reply
Harry
Posts: 45
Joined: Fri Mar 20, 2009 1:21 pm

ICC Profile

Post by Harry » Wed Jan 20, 2010 2:30 pm

Hi Loïc,

I tried to append a ICC Profile to a image.

First I tried it like this:

Code: Select all

m_GdImage.ICCAddFromFile(iImage, ICCProfile)
Result: A profile is Appended, but there are no values for the RGBs and black and whitepoints.

Next I tried it like this:

Code: Select all

GdImage.ICCSetRGBProfile(iImage, ICCProfile)
Result: Out of Memory Error

Last I tried this:

Code: Select all

m_GdImage.ICCAddProfileToFile("TEST.TIFF", ICCProfile)
Result: a correct Profile is appended, but the TIFF is now comressed LZW. Because of saving first the Image, it costs too much time to do it like this. Also I need the uncompressed image.

Many thanks in advantage.
Harry

User avatar
Loïc
Site Admin
Posts: 5651
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ICC Profile

Post by Loïc » Wed Jan 20, 2010 3:32 pm

Hi Harry,
Result: A profile is Appended, but there are no values for the RGBs and black and whitepoints.
I don't understand.
Result: Out of Memory Error
Could you send be both icc profile & image at esupporrt (at) gdpicture (dot) com ?

Result: a correct Profile is appended, but the TIFF is now comressed LZW
We will investigate on this issue.

Kind regards,

Loïc

felix
Posts: 20
Joined: Mon Apr 19, 2010 2:54 pm

Re: ICC Profile

Post by felix » Thu Sep 05, 2013 12:00 pm

Hello.

I tried to use "ICCAddFromFile" but it seems it doesn't work.
I have a GdPicture Image available in memory and try to add the profile. After that I save as TIFF.

gdStatus = m_GdImage.ICCAddFromFile(ImageID, ICCProfile);
gdStatus = m_GdImage.SaveAsTIFF(ImageID, Name, GdTifCompression);

gdStatus is "OK". But the image doesn't contain any ICC profile. None has been appended.

Why doesn't it work? It doesn't look like I am doing anything wrong?!

GdPicture Version is 9.4.0.12.

Best regards,
Felix
Last edited by felix on Thu Sep 05, 2013 2:26 pm, edited 1 time in total.

User avatar
Loïc
Site Admin
Posts: 5651
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: ICC Profile

Post by Loïc » Thu Sep 05, 2013 12:15 pm

Hello Felix,

Please create a standalone ticket, your issue has nothing to do with the original post.

Thank you for your understanding.

With best regards,

Loïc

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests