Page 1 of 1

Possible to append certain palette entries?

Posted: 2011-10-18T12:21:13-07:00
by adambrittonfrancis
Hello,

I'm working on an app conversion with graphical updates. The avatar for the application uses a series of palatalized images and does palette swapping on the entries for the avatar's skin tone.

For this update, it's required that I change the colors of the avatars' costumes, but retain the ability to palette swap the avatar's skin color. There are over 1200 total images used for the avatar.

Although each image uses a different palette, the skin tones are always certain colors in palette entries 192-233.

I am able to procedurally update the colors of the avatar's costumes.

Is there an easy way to after updating all the costume colors to then append these certain palette entries into the files?

If I can just figure out how to get the skin tone palette entries back into the images without needing to manually update each image's palette, I think I can handle the rest of the updates.

Thanks in advance!
Adam F.

Re: Possible to append certain palette entries?

Posted: 2011-10-18T16:21:49-07:00
by fmw42
I am not sure I follow all this, but how about just adding the palette data as an image comment in the meta data. See http://www.imagemagick.org/script/comma ... 13#comment