URL:
<http://gna.org/bugs/?19508>
Summary: Loading PNGs: "Failed to convince libpng to convert
to RGBA (wrong color_type)" for paletted/indexed PNGs
Project: MyPaint
Submitted by: achadwick
Submitted on: Tue Feb 28 14:58:38 2012
Severity: 4 - Important
Priority: 5 - Normal
Status: Confirmed
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: git d562b243
Planned Release: None
Operating System:
_______________________________________________________
Details:
Reported by deevad in IRC. The exception
"Failed to convince libpng to convert to RGBA (wrong color_type)"
is produced when trying to load any paletted PNG image, as confirmed with
pnginfo and saving new indexed PNG images from the GIMP. Exceedingly minimal
sample file attached. Backtrace at http://www.pasteall.org/29554
This seems to have been introduced in d562b243, according to git blame. The
weird thing is that, according to the libpng docs, the
png_set_palette_to_rgb() invocation is supposed to fix this
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue Feb 28 14:58:38 2012 Name: demo_pixel.png Size: 95B By:
achadwick
<http://gna.org/bugs/download.php?file_id=15237>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?19508>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs