Hi, >> >> Lcms2 error: 8 Unsupported raster format
Yes, this is not supported in 2.3, but it will be easy to add. I will try to put in 2.4 as well. Regards Marti Boudewijn Rempt <b...@valdyas.org> escribió: > On Wednesday 20 June 2012 Jun, Kai-Uwe Behrmann wrote: >> 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. >> > > Well, I looked at > > #define TYPE_BGRA_8 > (COLORSPACE_SH(PT_RGB)|EXTRA_SH(1)|CHANNELS_SH(3)|BYTES_SH(1)|DOSWAP_SH(1)|SWAPFIRST_SH(1)) > > so I added the extra SWAPFIRST_SH(1), it' the difference between > bgra and abgr. >> > > > -- > Boudewijn Rempt > http://www.valdyas.org, http://www.krita.org, http://www.boudewijnrempt.nl > > ------------------------------------------------------------------------------ > 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 > ------------------------------------------------------------------------------ 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