The VG Resource

Full Version: How can I save a palette to a PNG?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Didn't know what other forum to post this in, and since this is a general discussion forum....

So basically, I downloaded a picture from wikipedia and when I viewed the palette it was the standardized NES palette, meaning it had 16 columns and 4 rows of colors in their appropriate NES spots. I saved the palette in Paintshop Pro so I could use it for my sheets, but when I export an image to PNG format, the palette gets all clustered together in some seemingly random order (probably not random, I just don't know what that order is). I tried reopening the PNG, changing the palette back to the ordered palette, then saving it, but it saves with an unorganized palette again.

How do you store palette information in a png file?

EDIT FOR CLARIFICATION: As soon as I save the PNG, it optimizes the palette. So if I have an image with 12 colors and I save it, the palette will only have those 12 colors, not the NES palette that I had specified for that image. It's not just the images from Wikipedia. FCEUX, the NES emulator, saves its screenshots with the palette intact. I want to save the intact palette!
Keep it saved as a gif then.
Print Screen
paste into paint
save as png
I don't have Paint on this computer. Crap, I'm screwed.

Well, I'M not screwed, just greatly inconvenienced.