Hi,

> to keep looking around in different .h files for the correct struct 
> and add lots of casts to the real type in their code. Sorry to 
> complain about stuff, but if nobody complains, stuff doesn't get 
> changed.

Don't apologize, complains are a good way to check for a robust API.
If something is no longer working or no longer easy to do, then
I am glad to get feedback and eventually to fix it.

lcms2 is different in the way it no longer exposes internal structures.
Sure, those structures may be handful, but since are internal, using
them you risk they change across versions. That is what happened with
lcms2.

On most hidden functions, there are alternatives ways to do the same,
and I thing the mailing list would be a great place to discuss this
stuff, so please let us know which *functionality* is now missing or
hidden, and I will try to explain how to do it with lcms2

A good check would be to turn LCMS_APIONLY on in the lcms1 release
you were using. This would exclude internal and undocumented and
private functions.


>
> What's the new way of doing this:
>
> DWORD         syz;
> LPVOID                mem = cmsGetMemBasedPointerAndSize(m_lcmsProf, &syz);

?? I think this function didn't exist on any lcms1 release.

If you mean how to save a profile to a memory block:

cmsSaveProfileToMem()

Regards
Marti



------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to