5

I remember in GIMP 2.4 editing palette in an indexed image was as easy as changing the foreground color but I'm a little lost in GIMP 2.8 as there is no Dialog menu. So, I played around a little and found out it was in the colors > Map > Set color map > hit Default > scroll to the top > right click the image palette and bring up the palette editor and I figured out I can't do anything after that. Neither can the palette be edited on click nor can we edit the HTML notations that refer to respective palettes. How can we edit palettes in an indexed image(for this I'm using an indexed image with eight colors).
enter image description here

7

In GIMP 2.8 for an indexed image you can use the Colormap dialog, which is very simple to activate (see the provided link):

Colormap dialog

In this dialog the entire palette is shown and you can edit each color by right clicking on it:

right click

Choosing Edit color, a color editor appears:

color editor

And the effect is immediate:

edited image

  • But how could one delete a color from Gimp's colormap? – Avamander Jun 12 '17 at 11:31
  • 1
    If you want a palette with less colors you can Convert Image to Indexed Colors choosing a different maximum number of colors or you can simply redefine the color to be 'deleted' with another one. – Paolo Gibellini Jun 12 '17 at 14:22
  • But simply deleting one of the colors in the palette, say when it's a duplicate? – Avamander Jun 12 '17 at 23:28
  • 1
    You can also select by color using the color to be removed and fill the selection with the one you want to maintain. After this operation you can increase the colors to true colors and return to indexed colors with the exact number of colors needed. But imho is not a problem if you have a palette with unused colors. – Paolo Gibellini Jun 13 '17 at 11:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.