Look in lcms.h _cmsSaveProfileToMem(). You can save with this function 
before further using in transforms.

Closer?

regards
Kai-Uwe Behrmann
                                + development for color management 
                                + imaging / panoramas
                                + email: [EMAIL PROTECTED]
                                + http://www.behrmann.name


Am 05.12.05, 23:12 +0100 schrieb Casper Boemann:

> Thanks
> 
> but unless I misunderstand you this is what we already do.
> 
> What I'm looking for is a way to embed profiles created with say:
> 
> cmsCreate_sRGBProfile()
> 
> 
> 
> On Monday 05 December 2005 23:01, Kai-Uwe Behrmann wrote:
> > You can copy the profile into memory, together with the image and embedd
> > this in memory profile on "image close" into the written file.
> >
> > A hint, lcms destroys the original profile structure during usage.
> > So saving from a lcms representation to a memory or disk profile is most
> > often not valid.
> >
> > > 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

Reply via email to