better dbg msg in spngload

This commit is contained in:
John Cupitt 2020-07-31 17:37:12 +01:00
parent ba45c87b50
commit 95a221dd6e

View File

@ -303,7 +303,8 @@ vips_foreign_load_png_header( VipsForeignLoad *load )
return( -1 );
}
/*
#ifdef DEBUG
printf( "width: %d\nheight: %d\nbit depth: %d\ncolor type: %d\n",
png->ihdr.width, png->ihdr.height,
png->ihdr.bit_depth, png->ihdr.color_type );
@ -311,7 +312,7 @@ vips_foreign_load_png_header( VipsForeignLoad *load )
"interlace method: %d\n",
png->ihdr.compression_method, png->ihdr.filter_method,
png->ihdr.interlace_method );
*/
#endif /*DEBUG*/
/* Just convert to host-endian if nothing else applies.
*/