Bug #724
PNG texture makes jHeretic crashes starting episode 1
100%
Description
I have a file named 'data.zip' that contains a PNG texture. I load it as the only add-on in Snowberry and start Heretic. The game starts normally, but when I start episode 1, the game crashes.
I can view that texture wth no problem with programs like the Windows image viewer, GIMP or IrfanView.
If I re-save it with i.e. GIMP making no changes at all, the crash doesn't happen.
Labels: jHeretic
History
#1 Updated by flaviok over 15 years ago
The file containing the PNG texture.
Attachments:#2 Updated by skyjake over 15 years ago
Upon first examination it seems that it crashes because PNG_Load() does not have the palette information from the attached 256-color paletted PNG. Maybe PNG_Load() is doing something wrong, as the image is shown correctly elsewhere.
#3 Updated by skyjake over 15 years ago
Fixed for 1.9.0-beta6.4. PNG_Load() didn't treat grayscale PNGs correctly -- it assumed they were paletted images instead.