Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When I open a GIF file in gimp, I find it very hard to add more colours then those that are already contained in GIF palette. When I draw with different colours, GIMP is trying to use the colour from palette most approximate to the colour I'm drawing. (may result in red instead of black)
This problem persist even if I save the imported GIF as XCF file (even if I create new layers in it). How do I make gimp ignore the palette? The only solution was saving (exporting) the file as some non-palete image as BMP and then importing it again.


enter image description here:

After flood fill (black)

enter image description here

share|improve this question
Image -> Mode -> RGB – gronostaj Nov 2 '13 at 15:01
up vote 0 down vote accepted

When you are working on an indexed image, GIMP uses only the colors contained in the image palette, i.e. the set of colors allowed for that image (max 256 for GIF files).

GIF files are indexed images, and even XCF files could be indexed, so in order to add new colors you can either change the image mode to RGB (this allows you to use up to 16 Millions of colors and, if needed, you can export as a GIF after your editing - this operation "squeezes" used colors in a 256 color palette), or edit the palette of the image (changing existing colors) through the colormap dialog.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .