Commit 4fa2bbab authored by Mukund Sivaraman's avatar Mukund Sivaraman

file-png: Specify the interlace type explicitly

parent f660236a
......@@ -1473,7 +1473,7 @@ save_image (const gchar *filename,
png_set_IHDR (pp, info, drawable->width, drawable->height,
bit_depth,
color_type,
pngvals.interlaced,
pngvals.interlaced ? PNG_INTERLACE_ADAM7 : PNG_INTERLACE_NONE,
PNG_COMPRESSION_TYPE_BASE,
PNG_FILTER_TYPE_BASE);
png_set_compression_level (pp, pngvals.compression_level);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment