Advertisement


How to create & save a .gif without dithering with MS Paint?


Question

I tend to use Photoshop, but for my engineering course I do want to use something as simple as MS Paint.

I literally need to do this:

  • Create a square with whatever color outline
  • Fill the square with another color
  • Draw some shapes inside with yet another color
  • Save the image as a .gif (must be a .gif)

But when I do it, the whole image is dithered. Which completely kills my program. If I filled my shape with a solid color, it turns into a sea of completely different pixels (similar to the color, but I need it to be exact).

I understand that .gif lowers the quality by having to use a much more limited set of colors, which is perfectly good for me - I don't mind having my image's colors slightly changed to match the .gif limits. But I don't want it to dither.

If I truly can't achieve this with MS Paint (which I doubt), what other simple solutions have you got?

I heard something about converting it to a 256-colors bitmap and then transform it to a .gif. I don't think I understood well the instructions: what I did was draw my image, save as a 256-colors .bmp (which converted my colors, which is alright for me), but as soon as I saved it to .gif, the colors dithered.

2012/10/31
1
0
10/31/2012 2:40:00 AM

Dithering is used to simulate a non-indexed color using the 256 colors in the defined palette.

If you want to avoid dithering, you need to:

1) begin with an 8-bit image (rather than RGB) and select only those colors defined in the palette; or

2) use RGB and then save using an adaptive palette with dithering disabled.

option 1 is best for your stated needs. For the use-case you state in your question, option 2 would probably be acceptable, unless there is some constraint such as "must adhere to (so-called) mac/windows 8/web-safe color indexes".

2012/10/31
1
10/31/2012 3:10:00 PM