Post Reply 

Color loss when pasting (pic inside)

Jun 15, 2011, 14:18 (This post was last modified: Jun 15, 2011 14:55 by Duto.)
Post: #1
Color loss when pasting (pic inside)

First time posting and i just have a very quick question that i'm hoping someone could clear up. Smile

When i'm attempting to paste an image from one window to another, i'm losing an incredible amount of colors in the transfer.

The target image is a gif (of the animated variety) while the copied image is a png (although i've also tried w/ bmp's). You can check out the attachment to see what i mean.

I guess my question is primarily "whats causing this?" w/ a secondary "is there a work around?"


Attached File(s) Thumbnail(s)
Find all posts by this user
Quote this message in a reply
Jun 15, 2011, 16:37
Post: #2
RE: Color loss when pasting (pic inside)
I think this is because the GIF is not a full RGB image but uses indexed colors (which is how GIF works). You can change the GIF back to RGB (Image/Mode/RGB), and then paste your PNG and finally convert back to indexed if you want to save as GIF. You may not like the results because the color index table will now have to support the colors from the GIF and the colors from the PNG, and the original GIF image may appear a bit pixellated, but there is little Gimp can do about that.

Another solution is to convert the PNG to GIF beforehand while forcing it to use the same index table as your GIF, buf if this is doable I'm not sure Gimp supports it out of the box, you may need a specialized plugin or an external tool (IlageMagick?). But you may get a rather pixellated head instead.

Now answering your questions on
Visit this user's website Find all posts by this user
Quote this message in a reply
Jun 15, 2011, 17:55
Post: #3
RE: Color loss when pasting (pic inside)
Awesome!! Switching the gif to RGB did the trick!!
It's dirty, but so is the chick i made it for. Wink

Thanks again!!

Attached File(s) Image(s)
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  not able to draw different color rectangles manish 1 69 Nov 3, 2017 04:01
Last Post: ythgilb
  Desaturate to color KWiK 2 149 Oct 9, 2017 22:14
Last Post: KWiK
  Removing color from multiple images Aquilo 6 3,035 Sep 28, 2017 12:56
Last Post: angel0sdh
  Find Waldo (little pic) in Where is Waldo (large pic) 2083389396 2 229 Jul 28, 2017 12:57
Last Post: 2083389396
  Pasting on blank canvas Wynn Jones 1 186 Jul 24, 2017 06:13
Last Post: ythgilb

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS