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
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....
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....
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