This works well, but when we use the internal profiles we don't know what to do. There is no disk file to copy, so what do we do? Is the some function or
other way to create something suitable for embedding.

Hi,

Just use _cmsSaveProfileToMem() as suggested by Kai-Uwe.
BTW, 1.15 should solve that bug, so you can reuse the profile after
being saved as well. But for backwards compatibility, is better
to do something like:

h = cmsCreate_sRGBProfile()
cmsSaveProfileToMem(h, ...)
cmsCloseProfile(h)

Regards
Marti.


----- Original Message ----- From: "Casper Boemann" <[EMAIL PROTECTED]>
To: <lcms-user@lists.sourceforge.net>
Sent: Monday, December 05, 2005 10:36 PM
Subject: [Lcms-user] embedding internal profiles


Hi

In Krita we are trying to save a file with embedded profiles. The normal thing
we do is copy the foobar.icc file into the output image.

This works well, but when we use the internal profiles we don't know what to do. There is no disk file to copy, so what do we do? Is the some function or
other way to create something suitable for embedding.

--
best regards / venlig hilsen
Casper Boemann


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to