[Geoserver-devel] [jira] Created: (GEOS-1312) Bring back 1 bit rendering

Bring back 1 bit rendering
--------------------------

                 Key: GEOS-1312
                 URL: http://jira.codehaus.org/browse/GEOS-1312
             Project: GeoServer
          Issue Type: Improvement
          Components: WMS
    Affects Versions: 1.6.0-beta2
            Reporter: Andrea Aime
            Assignee: Simone Giannecchini
             Fix For: 1.6.0
         Attachments: wms-broken.png, wms-good.png

During the speedup week we did bring in 1 bit rendering, that is, the ability to render a two colors map over an image whose raster uses just 1 bit per pixel.
This provides significant speedup and reduced image size, but unfortunately single pixel wide line rendering is totally broken... I've tried out all rendering hints trying to get better quality with no avail.
The only solution found is to have the rendering chain work against a 1byte per pixel image, that is, an interleaved raster. This unfortunately slows down rendering and increases the image size a lot.
See attached samples for both quality and size.

--
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