libpng16] Updated contrib/pngminus/pnm2png.c (Paul Stewart):

Fixed whitespace handling
Added a call to png_set_packing()
Initialize dimension values so if sscanf fails at least we have known
   invalid values.
This commit is contained in:
Glenn Randers-Pehrson
2013-05-08 10:09:19 -05:00
parent 294d0b8408
commit 3f2b5a6670
4 changed files with 74 additions and 39 deletions

View File

@@ -13,6 +13,8 @@ everything = off
# Switch on the write code - this makes a minimalist encoder
option WRITE on
option WRITE_INVERT on
option WRITE_PACK on
# You must choose fixed or floating point arithmetic:
# option FLOATING_POINT on