Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
is possible to change several BMP file indexed colors into ONE?
#1
Greetings guys.

I have several .BMP files that share the same color palette.

I'd like to change several of the indexed colors from each file to have the same

https://imgur.com/G14K0iL

So, for example, file1 has like 3 rows of indexed colors and all of them would like to be changed into one single indexed color (like pink). This could save me a lot of time changing each one of these files instead of clicking one index after another.

I'd appreciate the help if possible
Reply
#2
hmmm.. you could try

Take one of the indexed images and adjust the colormap as required. Export it for use.

An open image shows in the palette dock. Make a note of where it is.

Open your images, choose one. Use Colors -> Map -> Set Color Map and choose the palette from the 'adjusted' image.

Onto the next image and use Filters -> Repeat Last (ctrl-f)

An animation of that: https://i.imgur.com/oewSbFw.mp4

If that works with your images there is a script that saves all open images. Otherwise it might be possible with ImageMagick but I need to look that up.
Reply
#3
(10-03-2023, 01:44 PM)rich2005 Wrote: hmmm.. you could try

Take one of the indexed images and adjust the colormap as required. Export it for use.

An open image shows in the palette dock.  Make a note of where it is.

Open your images, choose one.  Use Colors -> Map -> Set Color Map and choose the palette from the 'adjusted' image.

Onto the next image and use Filters -> Repeat Last (ctrl-f)

An animation of that: https://i.imgur.com/oewSbFw.mp4

If that works with your images there is a script that saves all open images.  Otherwise it might be possible with ImageMagick but I need to look that up.

God bless you, buddy.

It worked very well. Definetely what I needed. Really appreciate your kind help.

Have a wonderful day.
Reply


Forum Jump: