RM2k3: "Unsupported PNG image"

jpx

Villager
Member
Joined
Jun 23, 2015
Messages
8
Reaction score
0
First Language
English
Primarily Uses
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.
 
Last edited by a moderator:

loolamoon

Warper
Member
Joined
Jul 20, 2015
Messages
1
Reaction score
0
First Language
English
Primarily Uses
RM2k3
Good old vintage RPG Makers. I was having the exact problem with RPG Maker 2000, and with some help, found a functional but inelegant solution. After clicking Image > Mode > "Indexed..." and setting the maximum palette to 256 colors, go to the Colormap pane and click the "+" at the bottom ("add current foreground color") as many times as it takes to get 256 colors in the palette, then export to PNG. Hope that helps.
 

jpx

Villager
Member
Joined
Jun 23, 2015
Messages
8
Reaction score
0
First Language
English
Primarily Uses
Thanks for this solution! I didn't think I'd get a reply after the long wait. :)
 

Sal-O-Mac

Macaroni with Sal
Veteran
Joined
Oct 20, 2013
Messages
36
Reaction score
16
First Language
English
Primarily Uses
I know this is an older post, but if you get a program called Graphics Gale, Just go to IMAGE > COLOR DEPTH > and select 256 from the drop down menu. It will automatically create a 256 color palette without all the hassle.
 

jpx

Villager
Member
Joined
Jun 23, 2015
Messages
8
Reaction score
0
First Language
English
Primarily Uses
I know this is an older post, but if you get a program called Graphics Gale, Just go to IMAGE > COLOR DEPTH > and select 256 from the drop down menu. It will automatically create a 256 color palette without all the hassle.
Thanks, man! I was hoping there'd be an elegant solution.
 

Sakuri

Today is Today
Veteran
Joined
Sep 23, 2015
Messages
54
Reaction score
18
First Language
English
Primarily Uses
Go to a paint program and Save As 256 bit BMP image, should work then
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

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