Page 1 of 1

gif colors

Posted: Sat Dec 11, 2004 8:40 pm
by Sketch286
how can you keep the colors from changing when you save an animation as a .gif? an example of color change is my avatar thing.

Posted: Sat Dec 11, 2004 8:46 pm
by Moghendhim
Can't say I've had that problem... What are the colours *supposed* to look like on your av, and what software are you using to put it together?

Posted: Sun Dec 12, 2004 8:54 am
by Oualawouzou
If you mean "changing" as in losing nuances, I don't think it's possible to prevent. Unless I'm mistaken, gif is limited to the number of colors it can display.

Posted: Sun Dec 12, 2004 8:56 am
by Terotrous
Don't use MSPaint, if you're using it. It uses a default palette for gifs and will assign all colours to whatever they're closest to. If you use some other program they'll set the palettes to be whatever works best for the image.

Posted: Sun Dec 12, 2004 10:18 am
by Sketch286
i use flash
its supposed to look more solid and...kinda flat i guess
is there a way to color it in gif colors instead of having the program fix it?

Posted: Sun Dec 12, 2004 10:22 am
by Terotrous
Flash isn't very good at gifs either from what I recall. Might wanna just stick to PNG unless you have another program to convert it for you.

Posted: Sun Dec 12, 2004 11:14 am
by Sketch286
can u save animations as pngs? i thought they were just images

Posted: Sun Dec 12, 2004 12:04 pm
by Terotrous
Oh it's an animation... hmm, you might be stuck then.

Posted: Sun Dec 12, 2004 11:54 pm
by YarpsDat
Well, gifs are limited to 256 colors...
so when you save your truecolor document as a gif, the computer has to generate the 256 colors.

There are some things you can try:
when you are saving the gif, you should get a dialog screen asking you for palette selection method or something like that, it will affect the way the computer picks the 256 colors.
Anyways, the screen will let you toggle between "web safe colors" "optymized median cut" and "optymized oct tree" and perhaps some others.
Try if any of these settings makes things better.

If neither helps, you can make a custom 256 colors palette, and then import it to the file. But making the custom palette may be too much work.

But I think the easiest sollution is to accept a slight discoloration. I wonder if you can even notice it without the oryginal for comparision.