83
83
int bitDepth, colorType, interlaceType;
85
png_get_IHDR(pngReadStruct, pngInfoStruct, (png_uint_32*)&width, (png_uint_32*)&height, &bitDepth,
85
png_get_IHDR(pngReadStruct, pngInfoStruct, &width, &height, &bitDepth,
86
86
&colorType, &interlaceType, 0, 0);
88
88
//Ask libPNG to change bit depths we don't support