Problems using remap
Posted: 2011-07-25T11:24:43-07:00
I'm doing some work on images, and I one thing that I needed was all the images to have the same color maps.
The initial graphics was prepared in Photoshop, so that was easily done.
Now, at the next stage, I need reorder the colors according to their popularity. I extracted the histogram info from the combined image, then created a 16x16 image containing the colors I need in a specific order. Its color map is exactly what I need.
Here is the palette image, and the one I'm try to apply the palette to:
Now, when I execute
the color table gets reordered all right, but not to the requested order!
What is wrong? Any help would be highly appreciated.
The initial graphics was prepared in Photoshop, so that was easily done.
Now, at the next stage, I need reorder the colors according to their popularity. I extracted the histogram info from the combined image, then created a 16x16 image containing the colors I need in a specific order. Its color map is exactly what I need.
Here is the palette image, and the one I'm try to apply the palette to:
Now, when I execute
Code: Select all
convert All-Sizes_05.gif -remap outpal.gif tmp.pcx
What is wrong? Any help would be highly appreciated.