[Duplicate] GZDoom chokes on PNG images with non-8-bit-per-channel color

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

GZDoom chokes on PNG images with non-8-bit-per-channel color

Postby ZZYZX » Thu Mar 04, 2021 10:51 am

Example PK3 attached. Load into GZDoom, see "Invalid data encountered for texture Resources.pk3:textures/marb.png"
(Checked in GZDoom 4.5.0)

Reason: this texture is using 64-bit per pixel precision, which is perfectly valid within the format. This also opens in pretty much any image editor and WAD editor.
Easiest way to produce such image is to open up GIMP and set "Image -> Precision" to anything else than 8bit. Or, as it seems in this case, you could download an image from the net and have it broken already.

If the choice is to not fix it (I personally don't think it's reasonable to support) we at least need a better error message so that the modder knows what to fix.
You do not have the required permissions to view the files attached to this post.
User avatar
ZZYZX
le chat du rabbin
 
 
 
Joined: 14 Oct 2012
Location: Ukraine
Discord: ZZYZX#1394
Github ID: jewalky

Re: GZDoom chokes on PNG images with non-8-bit-per-channel c

Postby m8f » Thu Mar 04, 2021 10:59 am

User avatar
m8f
dreamer
 
 
 
Joined: 29 Dec 2017
Location: Siberia (UTC+7)
Discord: m8f#0629
Github ID: mmaulwurff
Operating System: Debian-like Linux (Debian, Ubuntu, Kali, Mint, etc) 64-bit


Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest