Er, what I want to define is of course BGRA, not ABGR. On Mon, 18 Jun 2012, Boudewijn Rempt wrote:
> Hi, > > I want to have my floating point rgb color spaces stored internally as > ABGR, because that's what krita uses everywhere. lcms.h only defines > TYPE_RGBA_FLT, so I though I'd define it myself, like: > > #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 > > I my definition wrong, or is this simply not possible? > > Boudewijn > > ------------------------------------------------------------------------------ > 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