04-11-2021, 02:35 PM
(04-11-2021, 10:56 AM)rich2005 Wrote:Quote:the input images are jpg's and are not indexed. They are illustrations with sharp colors and all the images as mentioned have generally the same colors except for a few. For example some do not have the red that is present in others or similar cases.
As jpegs they are liable to have lots of colours, might look sharp but what does Colors -> Info -> Color Cube Analysis report.
Quote:I would like to index all images so that they share the same color palette. The final palette will have 32 colors
It is the indexed image colormap that you will be editing.
Gimp is not too good with indexed colormaps. To get a common colormap, open a base image in Indexed mode, with the desired colormap. Then open the jpegs as layers. That will (1) force the (jpeg) layers to indexed mode (2) apply the common colormap.
It is getting them out of that stack of images that is a problem. The scripts I have, give indexed images with individual (different) colourmaps, which is normal Gimp behaviour. I have to do one-layer at a time.
Ofnuts has a plug-in ofn-replace-colormap.py from http://sourceforge.net/projects/gimp-too...s/scripts/ Which as the name implies replaces the colormap in an indexed image.
I can not get this to work for me. Do not know why, gives a "palette has different number of entries error", but worth a try.
I am sure you will get better advice than mine. Keep visiting.
- Color Cube attached
- forcing index palette applpying on layers, i see, it's ok, obviously it force some images with "new" colora to apply a similar one. It's just this to solve.
- Can be a solution opening all imagesall images side by side in mosaic to index all togethers?
- Why "getting them out of that stack" it's a problem? ofn-export-layers export each level to a separate file.