Hi.

Microsoft provides with mscms.dll a color management api on Windows,
which is similar to littlecms.

Wine implement a mscms.dll replacement using liblcms v1:
http://source.winehq.org/git/wine.git/tree/HEAD:/dlls/mscms

In preparation to the next stabele Wine release (Wine-1.6rc1 is expected for 
June 2013),
I took a lock to migrate to migrate WIne to lcms2.

Unfortunately, lcms2 made handles private and no longer provide the include 
icc34.h
for the low level stuff.

We can copy the header, but as soon, as a lcms2 handle is no longer a pointer 
to the correspondent struct,
Wine will fail.

Do you have any hints for us, how to handle this gracefully?

Additionally, Wine uses cmsCreateLabProfile and cmsSetErrorHandler, which a no 
longer present in lcms2.
cmsCreateLabProfile should be replaceable with cmsCreateLab2Profile.

Using our own error handler is optional, but since there are already lots
of projects migrated to lcms2, what have they done?


See also:
http://bugs.winehq.org/show_bug.cgi?id=23529
And as a distro-example:
http://bugs.launchpad.net/ubuntu/+source/lcms/+bug/885324


Thanks for your help.

-- 
By by ... Detlef

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to