As you might know, cairo uses a ARGB pre-multiplied format for storing
surfaces. That is to say, that the A,R,G,B values have been
pre-multiplied by the alpha channel, so become A,RA,GA,BA.

In GTK (where we're hopefully soon to be using lcms) I'm having to
un-premultiply the cairo surface before sending it to the lcms
transform, and then re-premultiply it when it comes back from lcms.
This is obviously non-optimal, as lcms will already be extracting the
argb values and processing them.

Is there any planned support for pre-multiplied image formats in lcms2? Thanks.

Richard.

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to