Am 18.06.12, 15:13 +0200 schrieb Boudewijn Rempt:
> Er, what I want to define is of course BGRA, not ABGR.
>
> On Mon, 18 Jun 2012, Boudewijn Rempt wrote:
>> #define TYPE_ABGR_FLT
>> (FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4)|DOSWAP_SH(1)|SWAPFIRST_SH(1))
>>
>> But when I try to use that in a conversion, I get an lcms error:
>>
>> Lcms2 error:  8 Unsupported raster format

TYPE_BGRA_FLT should be defined as:
(FLOAT_SH(1)|COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(4)|DOSWAP_SH(1))

Otherwise that definition follows the other lcms colour spaces.

kind regards
Kai-Uwe



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lcms-user mailing list
Lcms-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lcms-user

Reply via email to