On Jun 26, 2010, at 03:41:05, [email protected] wrote:
> One way would be to get the iohandler and then use it on
> cmsOpenProfileFromIOhandlerTHR(), then you have not to know
> whatever the profile was memory, file or stream based.
How can I get the cmsIOHANDLER from the cmsHPROFILE? It's private and I don't
see any accessor in lcms2.h. I'm adding this to my local copy of cmsio0.c for
now:
cmsIOHANDLER* cmsGetProfileIOHandler(cmsHPROFILE* prof)
{
_cmsICCPROFILE* realProf = (_cmsICCPROFILE*)prof;
return realProf->IOhandler;
}
and this to lcms2.h:
CMSAPI cmsIOHANDLER* CMSEXPORT cmsGetProfileIOHandler(cmsHPROFILE* profile);
_________________________________________________________
Steve Mills Me: 952-401-6255
Senior Software Architect MultiAd
[email protected] www.multiad.com
------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Lcms-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lcms-user