Erm, pick interlace=false instead. That was just a test and I forgot to put that back
On 25 August 2010 13:22, Wim Vanbelle <wimvanbe...@gmail.com> wrote: > Hi Steve, > > I have this in my file: > > OUTPUTFORMAT > NAME "AGGPNG" > > DRIVER "AGG/PNG" > EXTENSION "png" > MIMETYPE "image/png;mode=24bit;" > IMAGEMODE RGBA > FORMATOPTION "INTERLACE=true" > > FORMATOPTION "QUANTIZE_NEW=ON" > FORMATOPTION "QUANTIZE_FORCE=ON" > FORMATOPTION "QUANTIZE_DITHER=ON" > FORMATOPTION "QUANTIZE_COLORS=256" > END > > And in my layer, if you want opacity: > > OPACITY 60 > > > That should render nice lines :). > > > > > > > On 24 August 2010 21:16, Stephen Woodbridge <wood...@swoodbridge.com>wrote: > >> If I want to generate RGBA transparent images using AGG, what should my >> OUTPUTFORMAT block look like? >> >> >> I was using this one for 8-bit images, but the anti aliasing was creating >> blackish artifacts along the rendered lines. Is there a way to avoid them? >> >> OUTPUTFORMAT >> NAME "agg_qn" >> DRIVER "AGG/PNG" >> EXTENSION "png" >> MIMETYPE "image/png" >> IMAGEMODE RGBA >> TRANSPARENT ON >> FORMATOPTION "INTERLACE=false" >> FORMATOPTION "QUANTIZE_NEW=ON" >> FORMATOPTION "QUANTIZE_FORCE=ON" >> FORMATOPTION "QUANTIZE_DITHER=OFF" >> FORMATOPTION "QUANTIZE_COLORS=37" >> FORMATOPTION "TRANSPARENT=ON" >> END >> >> Trying 32bit RGBA: >> >> IMAGECOLOR 0 0 0 >> >> OUTPUTFORMAT >> NAME "agg_qn" >> DRIVER "AGG/PNG" >> EXTENSION "png" >> MIMETYPE "image/png" >> IMAGEMODE RGBA >> TRANSPARENT ON >> FORMATOPTION "TRANSPARENT=ON" >> END >> >> Generated black backgrounds and not transparent. Is it as simple as >> removing the IMAGECOLOR? I didn't try that. >> >> -Steve W >> _______________________________________________ >> mapserver-users mailing list >> mapserver-users@lists.osgeo.org >> http://lists.osgeo.org/mailman/listinfo/mapserver-users >> > >
_______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users