[mapserver-users] AGG Rendering

Andrew Ayre andy at britishideas.com
Fri Apr 3 17:26:37 EDT 2009


Gregor at HostGIS wrote:
> Andrew Ayre wrote:
>> Now I have SUPPORTS=AGG. Also the error has gone. But the output isn't 
>> anti-aliased. Is there something else that I need to add
> 
>>> OUTPUTFORMAT
>>>   NAME 'AGG_Q'
>>>   DRIVER AGG/PNG
>>>   IMAGEMODE RGB
>>>   FORMATOPTION "QUANTIZE_FORCE=ON"
>>>   FORMATOPTION "QUANTIZE_DITHER=OFF"
>>>   FORMATOPTION "QUANTIZE_COLORS=256"
>>> END
> 
> Have you tried removing those formatoption lines? Seems to me that 
> forcing it to a 256-color palette will mess with AGG's very careful 
> subpixel shading alpha-channel stuff.
> 
> The paragraph I use is this.
> 
> OUTPUTFORMAT
>   NAME "png"
>   MIMETYPE "image/png"
>   DRIVER "AGG/PNG"
>   EXTENSION "png"
>   IMAGEMODE RGBA
>   TRANSPARENT OFF
> END

Thanks Gregor, that worked!

Andy

-- 
Andy
PGP Key ID: 0xDC1B5864


More information about the mapserver-users mailing list