[Geoserver-devel] [jira] Created: (GEOS-394) Gif color reducer and anti-aliasing

Gif color reducer and anti-aliasing
-----------------------------------

         Key: GEOS-394
         URL: http://jira.codehaus.org/browse/GEOS-394
     Project: GeoServer
        Type: Bug
  Components: WMS
    Versions: 1.3-rc2
Reporter: didier richard
Assigned to: Gabriel Roldán
     Fix For: 1.3-rc3

When asking for Gif image as WMS result, the following exception is raised :
java.lang.ArrayIndexOutOfBoundsException: 256 at
org.vfny.geoserver.wms.responses.map.gif.Gif89Encoder.simpleColorReducer(Gif89Encoder.java:245)
(Java 1.5 with/without JAI)

Dave reported the following:
This is because the image has more than 256 colours in it (probably from anti-aliasing) and some recent changes in the color reduction algorithm.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira