PNG requires redundant colours
Closed this issue · 2 comments
danielgholmes commented
We have a number of sprites that only have 8 colours, When trying to load the images I get an error 'Resource file has invalid format'
. We realised that if we add up to 32 redundant colours, it works. We are using Fireworks CS5 and it is a challenge having to always add redundant colours for every new image. Is there something we are missing here? Any suggestions on how we can work around this issue?
Here are two examples:
Deleted user commented
It is expected. Tilengine requires an 8-bit palette
32-colour.png: PNG image data, 136 x 17, 8-bit colormap, non-interlaced
8-colour.png: PNG image data, 136 x 17, 4-bit colormap, non-interlaced