Hi Paulo,

Am 02.08.2013 um 21:14 schrieb Paulo Silva <paulo.jn...@gmail.com>:

> Somewhere in the loading some sort of alpha pre-multiplying is going on.

Unfortunately the imageio-plugin load its files with premultiplied alpha, as 
you discovered already. The image-io-plugin does demultiply the alpha again, 
but can't restore rgb-values with alpha 0 and there are some rounding 
differences. Between 3.0 and 3.2 I added an optimization to use apples 
optimized demultipliying-algorithm instead of the prior home cooked version.

If you are in need for exact rgba-values use libpng (just edit the cmake-files) 
or another image-plugin like rgba. 

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