Hi, I can load floating-point greyscale diffs via the imageio-plugin, but they end all as RGBA/unsigned byte osg::Images.
There's definitely some code-paths missing :) cheers, Stephan Am 04.09.12 16:12, schrieb Matthias Thöny: > Hi, > > I am wondering if someone ever tried to load 32bit floating point grayscale > .tiff images under Mac OSX with ImageIO. This seems not working at all. This > is a specific problem for grayscale textures. > > I tried to change the code in the ImageIO ReaderWriter class but obviously I > am doing something wrong. As far as documented it should be working: > > http://developer.apple.com/library/ios/#documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_context/dq_context.html#//apple_ref/doc/uid/TP30001066-CH203-SW9 > (search for Supported Pixel Formats) > > but the CGBitmapContextCreate tells you that this is not a valid combination > if you use: > > Gray 32 bpp, 32 bpc, kCGImageAlphaNone|kCGBitmapFloatComponents OS X > > Is there anybody who tried that before? > > Thank you! > > Cheers, > Matthias > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=49738#49738 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

