On Thursday 25 August 2005 13:03, Boudewijn Rempt wrote:
Is it possible to have lcms copy the alpha channel values when doing a
transform? Or should that happen automatically?


Sorry, no. lcms does *ignore* the alpha channel(s) either on input and output.
That is because lcms supports more than 1 alpha channel, and then how tho map
them in this case would be uncertain.

In the other hand you can use the same buffer if the bps, channels and planar organization is same. For example, if you have a "Buffer" holding ABGR data,
then you can do:

cmsDoTransform(xform, Buffer, Buffer, npixels)

Since lcms ignores alpha channels, this is going to work,  and also solves
the multiple alpha case.

Hope this helps.
--
Marti Maria
The littlecms project.
www.littlecms.com




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.10.15/82 - Release Date: 25/08/2005



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to