RPG Maker Forums

I keep getting the following error message on images I've converted to a 256-color palette with GIMP: "Unsupported PNG Image! Make sure you are using a color depth of 8 bit (256 colors)." Only thing is, I'm only getting this particular error on images I know are indexed with 256 colors or less. I've found references to this error message online, but the answers always go something like "either it's the wrong size or it's not in 256-color mode." Well, that doesn't help me here because neither of these are the case. What's weirder is, I'll use GIMP's 'generate optimum palette' feature to convert an image to 256-color mod and have it work just fine, but then I'll convert back to RGB, make some edits, and then generate a 256-color palette again, and then it gives me that error. I've managed to get around this in the past with some finagling (changing directories, importing backup files, pasting my work into separate images, etc.) but whatever I did to get it to work before, I can't get it to import the charset I'm working on at the moment. Any idea what could cause this?

EDIT: As a little experiment, I just added rainbow gradients in an unused part of the image to ensure that the optimum palette is exactly 256 colors and no less. Obviously, that's not going to work as a permanent solution, but it does, reveal an important piece of information: the error seems to arise from the color palette being under, and not equal to, 256 colors.

It appears that what I need is a way to losslessly convert it to a palette of exactly 256 colors.

Latest Threads

Latest Posts

Latest Profile Posts

Frostorm wrote on Featherbrain's profile.
Hey, so what species are your raptors? Any of these?
... so here's my main characters running around inside "Headspace", a place people use as a safe place away from anxious/panic related thinking.
Stream will be live shortly! I will be doing some music tonight! Feel free to drop by!
Made transition effects for going inside or outside using zoom, pixi filter, and a shutter effect
I have gathered enough feedback from a few selected people. But it is still available if you want to sign up https://forums.rpgmakerweb.com/index.php?threads/looking-for-testers-a-closed-tech-demo.130774/

Forum statistics

Threads
105,992
Messages
1,018,195
Members
137,773
Latest member
Kirakirna
Top