Hi Elle, Do you mean 32 bits per channel? 96 bits per pixel?
The macro is ok, but you need some code to do the decoding. It can be easily done with a formatter plug-in. Take a look on the plug-in documentation, On "Formatters plug-in" section. There is a working example. Regards Marti El 12/01/2013 17:38, Elle Stone escribió: > Hello all, > > I'm attempting to add to Gimp the ability to do ICC profile > conversions on 32-bit integer images. I saw in the lcms2.4 > documentation a reference to some macros for defining a new formatter. > But I haven't a clue how to use those macros. > > I looked in lcms2.h at the #define statements and hazarded a guess > that putting the following line: > > #define TYPE_RGB_32 > (COLORSPACE_SH(PT_RGB)|CHANNELS_SH(3)|BYTES_SH(4)) > > in the Gimp color conversion code might do the trick. But it didn't > work. Any pointers on how to add support for 32-bit integer profile > conversions would be very welcome. > > Elle Stone > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. SALE $99.99 this month only -- learn more at: > http://p.sf.net/sfu/learnmore_122912 > _______________________________________________ > Lcms-user mailing list > Lcms-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/lcms-user > ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122912 _______________________________________________ Lcms-user mailing list Lcms-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lcms-user