[brlcad-commits] SF.net SVN: brlcad:[49760] brlcad/trunk/src/libicv/fileformat.c
Open Source Solid Modeling CAD
Brought to you by:
brlcad
From: <eri...@us...> - 2012-03-21 13:53:54
|
Revision: 49760 http://brlcad.svn.sourceforge.net/brlcad/?rev=49760&view=rev Author: erikgreenwald Date: 2012-03-21 13:53:47 +0000 (Wed, 21 Mar 2012) Log Message: ----------- use _DEFAULT png flags instead of _BASE Modified Paths: -------------- brlcad/trunk/src/libicv/fileformat.c Modified: brlcad/trunk/src/libicv/fileformat.c =================================================================== --- brlcad/trunk/src/libicv/fileformat.c 2012-03-21 01:58:36 UTC (rev 49759) +++ brlcad/trunk/src/libicv/fileformat.c 2012-03-21 13:53:47 UTC (rev 49760) @@ -146,8 +146,8 @@ png_init_io(png_ptr, fh); png_set_IHDR(png_ptr, info_ptr, (unsigned)width, (unsigned)height, 8, png_color_type, - PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_BASE, - PNG_FILTER_TYPE_BASE); + PNG_INTERLACE_NONE, PNG_COMPRESSION_TYPE_DEFAULT, + PNG_FILTER_TYPE_DEFAULT); png_write_info(png_ptr, info_ptr); for (i = height-1; i >= 0; --i) png_write_row(png_ptr, (png_bytep) (rgb + width*depth*i)); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |