Bruce Wheaton wrote:
LibPNG changed their API in January. I have a current Arch Linux install
which uses the newer version, but we can presume it will crop up more.
The only two current issues are addressed by:
/OpenSceneGraph/src/osgPlugins/png/ReaderWriterPNG.cpp
176d175
< #if PNG_LIBPNG_VER < 10004
178,180d176
< #else
< if (fin.gcount() == 8 && png_sig_cmp(header, 0, 8) == 0)
< #endif
231,232d226
< {
< #if PNG_LIBPNG_VER < 10004
234,237d227
< #else
< png_set_expand_gray_1_2_4_to_8(png);
< #endif
< }
As per the libPNG recommendations, to replace png_check_sig
and png_set_gray_1_2_4_to_8()
http://www.libpng.org/pub/png/src/libpng-1.2.x-to-1.4.x-summary.txt
If this isn't the best/place to report this, someone please let me know.
Am I correct in assuming that this is a change request for the upcoming 2.8.3
release? I believe someone else has mentioned this too.
--
-Paul Martz Skew Matrix Software
http://www.skew-matrix.com/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org