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.
GZDoom chokes on PNG images with non-8-bit-per-channel color
Moderator: GZDoom Developers
Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
GZDoom chokes on PNG images with non-8-bit-per-channel color
- Attachments
-
Resources.pk3
- (57.38 KiB) Downloaded 26 times
- m8f
-
- Posts: 1456
- Joined: Fri Dec 29, 2017 4:15 am
- Preferred Pronouns: He/Him
- Location: Siberia (UTC+7)
- Contact:
Re: GZDoom chokes on PNG images with non-8-bit-per-channel c
Probably is fixed: viewtopic.php?f=2&t=71454#p1181474
https://github.com/coelckers/gzdoom/pull/1302
https://github.com/coelckers/gzdoom/pull/1302