Page 1 of 1
tools to find common palette of multi images
Posted: Mon Jun 06, 2011 9:32 pm
by KanedaFr
Some years ago, I used Debabelizer to do this.
Perhaps, there is now a better tool to
- find a common palette of X images (within a defined number of colors)
- reorder palette (ex: exchange color 2 with 4)
if you use/know any (freeware or not), let me know
I already know about Palette Maker (
http://www.compuphase.com/software_palettemaker.htm) but it only supports 256colors (not 16 or 15 or 7)
thanks
Posted: Wed Jun 08, 2011 11:47 am
by mic_
find a common palette of X images (within a defined number of colors)
Combine all images into one big image, run a quantizer on it, split the resulting image into the individual sub-images.
Posted: Wed Jun 08, 2011 2:56 pm
by KanedaFr

it's what I did tomorrow with imagemagick
it works well, but you can't play easily with colors (changing value, reorder, etc...)
so imagemagick does only half of what I'm looking for ...
I now need to try Grafx2 with its palette handling....
Posted: Thu Jun 09, 2011 12:13 pm
by Pascal
maybe cosmigo pro-motion
Posted: Thu Jun 09, 2011 5:39 pm
by KanedaFr
Pro Motion :
+ color quantization works perfect
+ easy way to move color one by one
- need to upload all the images in a multiframe (so every image is resized to biggest one)
- buggy as hell (I was unable to edit more than 5 pixels on screen and to delete even one)
so... imagick for the quantization and promotion for palette edit could be a solution....
thanks for the hint
Posted: Thu Jun 09, 2011 10:40 pm
by Chilly Willy
I've used GIMP to set the color depth, but I don't know if it can change/move colors once in paletted mode.
Posted: Fri Jun 10, 2011 11:22 pm
by powerofrecall
http://mtpaint.sourceforge.net/ mtpaint can rearrange and modify palette colors individually. it also dithers and reduces colors fairly well too.
Posted: Fri Jun 17, 2011 8:19 pm
by cdoty
Here's something that sounds like it could be useful:
https://github.com/MatthewCallis/snesimg
It's for the SNES, but converting it to the Genesis probably wouldn't be too hard.
Posted: Sat Jun 18, 2011 4:35 pm
by KanedaFr
thanks but my main concern is to find a common palette for n images.
imagemagick makes it using this
Code: Select all
REM with every image in in\ repository
REM result will be written in out\ repository
REM make a single image with green background
montage -background #00FF00 -geometry +0+0 in/*.* out/common.png
REM convert to 16 colors
convert -quantize transparent -colors 16 +matte out/common.png out/common_16.bmp
REM create a bitmap with the pal only (a 16x1 bmp)
convert out/common_16.bmp -unique-colors out/common_map.bmp
REM extract pal to text
convert out/common_map.bmp -unique-colors -depth 4 txt:- >out/common_map.txt
REM split image in 72x72 bitmap (replace with your value)
convert out/common_16.bmp -crop 72x72 +repage out/tiles%%02d.bmp
the good news is imagemagick is multiOS & open source

Posted: Sun Sep 16, 2012 10:31 pm
by ammianus
I know I am late to the party here, but just want to point an alternative,
I had a thread mentioning a mod to _mic's sixpack tool that will allow you to use a common palette file when processing a series of images.