Hi,

Tatsuhiro Nishioka schrieb:
> Another problem is that imageio's libpng doesn't properly handle transparency 
> in PNG file. The problem I have is that the transparency in PNG files are not 
> at all handled and we see a lot of unexpected black or dark portions.  I 
> strongly recommend the use of osgdb_png.so (or .dylib) for handling png 
> images instead of imageio.

looks like that the current implementation of imageio works with
premultiplied alpha, ideally all occurences of
kCGImageAlphaPremultipliedFirst should be replaced by
kCGImageAlphaFirst, but some test-data could help isolating the problem.

cheers,
Stephan

_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to