Forum Moderators: open
Does anyone know a way to get a decent looking Gif from an Image object? I have no trouble displaying nice looking Jpgs, Bmps, Pngs, and Tifs, but all the Gifs I produce are horribly grainy. I can go the opposite direction, Gif to any other format, with no problems. What kind of code do I need to make the outputted Gifs look good?
I did try calling the clone(Rectangle, PixelFormat) method, using a PixelFormat of 8 bits-per-pixel Indexed, but that blew up, apparently because the Rectangle was too big. Should I keep trying that route, or will something else produce a nicer result?
Thanks!
g.
Maybe a better question would be whether anyone knows of a DLL - freeware or for purchase - that builds a palette for a Gif from the palette of the original image. Trying to duplicate the results I'm getting in Photoshop, it appears the problem is mostly that .NET automatically uses the Windows palette (CMIIW?). Can anyone recommend software that builds the equivalent of a Photoshop perceptual or selective palette?
Thanks,
g.