Post Reply 

white turns grey

Jan 9, 2012, 15:29
Post: #1
white turns grey
thinking i'm missing a simple fix for my problem here...
i've got an image sequence that uses white on pngs, once they've been made into animated gif the white turns less white and slightly grey, what's going on with that and how do i remedy it?

[Image: baged.gif]
Find all posts by this user
Quote this message in a reply
Jan 9, 2012, 16:10
Post: #2
RE: white turns grey
example if needed:
[Image: ball.gif]

[Image: baged.gif]
Find all posts by this user
Quote this message in a reply
Jan 9, 2012, 17:54
Post: #3
RE: white turns grey
The GIF format only allows 256 colors total in the whole image (all the frames must share these 256 colors). If you zoom in your image, you'll notice that the black outline is actually made of various shared of grey on the outside and shades of green on the inside. This is what makes it look smooth, but also where all the colors are used.

If you do a manual conversion to indexed (Image/mode/indexed) you can specify a palette and if this palette contains pure white it will be used. However I have to find out how you can obtain a suitable palette first and convert its lightest color to pure white.

Stay tuned.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 9, 2012, 18:52 (This post was last modified: Jan 9, 2012 19:19 by player01.)
Post: #4
RE: white turns grey
staying tuned... simple things never come easy
just a mo'... does that mean the standard palette doesn't have white in it?

[Image: baged.gif]
Find all posts by this user
Quote this message in a reply
Jan 9, 2012, 20:21
Post: #5
RE: white turns grey
can't stay tuned anymore, have lost the will to continue so will plump for doing the process through photoshop instead, it's a shame as i thought it would be simpler. please do respond if a solution presents itself, i will be back as the photoshop process is rather lengthy in comparison.

[Image: baged.gif]
Find all posts by this user
Quote this message in a reply
Jan 9, 2012, 21:24
Post: #6
RE: white turns grey
(Jan 9, 2012 18:52)player01 Wrote:  staying tuned... simple things never come easy
just a mo'... does that mean the standard palette doesn't have white in it?
The standard palette does. But when you convert to GIF it tries to find an optimal palette. And the standard palette may not have all the shades of green to produce the smooth inner outline. You can however convert from RGB to indexed mode explicitly ("Image/mode/indexed") and specify the palette of your choice or a standard "web palette".

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 9, 2012, 21:51
Post: #7
RE: white turns grey
thanks, that image was just an example as there may be more grey, no matter, every gif i've made has the same white-to-grey conversion going on and i've not yet been able to suss the palette well enough to add my own in there. the preset palettes seem to be either of one-colour kinds or web (16), which isn't good for this.

[Image: baged.gif]
Find all posts by this user
Quote this message in a reply
Jan 10, 2012, 00:23
Post: #8
RE: white turns grey
(Jan 9, 2012 21:51)player01 Wrote:  thanks, that image was just an example as there may be more grey, no matter, every gif i've made has the same white-to-grey conversion going on and i've not yet been able to suss the palette well enough to add my own in there. the preset palettes seem to be either of one-colour kinds or web (16), which isn't good for this.
You can create you own palette. However for bigger palettes it can be a lot of work. I'm looking for a way to create the best palette for the image, then tweak it to add pure white, then re-index the image using the tweaked palette.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Jan 19, 2012, 17:38
Post: #9
RE: white turns grey
Thanks to a post in another forum, here is how you create a palette from an image:

- Load image in Gimp
- Start the palette list (Window/Dockable dialogs/Palettes)
- Right click in the list
- "Import Palette"
- "Select source" -> "image" and select image.

Now answering your questions on
https://Gimp-Forum.net
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Targa files are exporting solid white candycane2swt4u 1 137 May 29, 2017 18:42
Last Post: blighty
  detailed pencil drawing to white background misterroy 3 212 Oct 10, 2014 09:11
Last Post: rich2005
  Can't remove white lines anon_private 1 176 Oct 5, 2014 12:47
Last Post: rich2005
  changing picture black and white Nagelsan 1 215 Aug 23, 2014 20:36
Last Post: rich2005
  Struggling to create white transparent background with text on image roacha 2 371 Jul 3, 2014 03:47
Last Post: iForStyle007

Forum Jump:


GIMP ForumPortalArchiveContactTermsRSS