Currently gbagfx is generating errors bit continuing anyway if the errors don't affect the finished .4bpp image.
Some images also contain unnecessary data such as EXIF and embedded thumbnails among others. EXIF data might also contain identifiable information about whoever created the png.
All data except for the header, IHDR, PLTE, IDAT and IEND is extraneous and might hide problems with the image when opened in editors. For example the tRNS chunk might hide an improperly colored background.
Either integrating a validator/fixer into gbagfx or writing a new tool would work.
Things found so far in PNGs don't have to be there:
Embedded thumbnails (larger than the actual image itself)
Which editor/tool that created the PNG
Excessive palette sizes
tRNS chunks, transparency data
orNT chunks, rotation data
bKGD chunks, background color, not compatible with how background are handled
Description
Currently
gbagfx
is generating errors bit continuing anyway if the errors don't affect the finished.4bpp
image. Some images also contain unnecessary data such as EXIF and embedded thumbnails among others. EXIF data might also contain identifiable information about whoever created the png. All data except for the header, IHDR, PLTE, IDAT and IEND is extraneous and might hide problems with the image when opened in editors. For example thetRNS
chunk might hide an improperly colored background.Either integrating a validator/fixer into
gbagfx
or writing a new tool would work.Things found so far in PNGs don't have to be there:
Discord contact info
hedara