[Geoserver-devel] GIF image improvements

I've improved the GIF file output again.

1. The colour reduction code was taking too long, so i told it to only
sample every-other-pixel. This shouldnt cause any real problems, but
tell me if you see anything "funny" happening. Its much faster.

2. I improved the transparency handling - now the "transparent colour"
is completely separate from the other colour processing. This makes a
big difference if your "background" colour is the same as a colour that
you draw with.

3. The only real todo is the fact that it always produces 256 colour
GIFs - even if fewer colours are actually used. In general, that
means that the output file is a wee bit larger than it needs to be.

dave

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/