+2011-01-08 6.6.7-1 Glenn Randers-Pehrson <glennrp@image...>
+ * Quieted some inconsequential warnings in the PNG codec due to a
+ change in the type of the PNG iCCP profile from png_charp to png_bytep
+ in libpng-1.5.0.
+
2011-01-03 6.6.7-0 Cristy <quetzlzacatenango@image...>
* Handle negative heights for ICO images.
(void) ThrowMagickException(&image->exception,GetMagickModule(),CoderError,
message,"`%s'",image->filename);
-#if PNG_LIBPNG_VER < 10500
+#if (PNG_LIBPNG_VER < 10500)
longjmp(ping->jmpbuf,1);
#else
png_longjmp(ping,1);
int
compression;
+#if (PNG_LIBPNG_VER < 10500)
+ png_charp
+ info;
+#else
+ png_bytep
+ info;
+#endif
+
png_charp
- info,
name;
png_uint_32
if (ping_exclude_iCCP == MagickFalse)
{
png_set_iCCP(ping,ping_info,(const png_charp) name,0,
+#if (PNG_LIBPNG_VER < 10500)
(png_charp) GetStringInfoDatum(profile),
+#else
+ (png_const_bytep) GetStringInfoDatum(profile),
+#endif
(png_uint_32) GetStringInfoLength(profile));
}
}