MapServer / MapServer-import

3 stars 2 forks source link

AGG anti-aliasing does not appear to be working #2177

Closed tbonfort closed 12 years ago

tbonfort commented 12 years ago

Reporter: woodbri Date: 2007/07/25 - 20:33 This mapfile was working when the labels FOLLOW was broken, but now that the labels are working it does not look like the anti-aliasing is working. Notice the jaggy edges along some of the shallow angle streets.

http://imaptools.com/cgi-bin/mapserv-4.99?mode=map&layers=all&scale=10000&map=/u/data/maps/google-agg.map&mapxy=-87.65+41.85&map_size=450+350

woodbri@carto:/u/software/mapserver-SVN/mapserver$ svn info
Path: .
URL: https://svn.osgeo.org/mapserver/trunk/mapserver
Repository UUID: 7532c77e-422f-0410-93f4-f0b67bdd69e2
Revision: 6392
Node Kind: directory
Schedule: normal
Last Changed Author: dmorissette
Last Changed Rev: 6390
Last Changed Date: 2007-07-25 12:59:10 -0400 (Wed, 25 Jul 2007)
Properties Last Updated: 2007-07-18 10:07:09 -0400 (Wed, 18 Jul 2007)

woodbri@carto:/u/software/mapserver-SVN/mapserver$ cat ../../doit-mapserver-4.10
./configure \
  --enable-ignore-missing-data \
  --enable-debug \
  --with-httpd=/usr/sbin/apache \
  --with-proj=/usr \
  --with-agg=/u/software/agg-2.5 \
  --with-gd \
  --with-gdal \
  --with-freetype \
  --with-postgis \
  --without-tiff \
  --with-wmsclient \
  --with-ogr \
  --with-wfs \

woodbri@carto:/u/software/mapserver-SVN/mapserver$ ./mapserv-4.99 -v MapServer version 5.0.0-beta1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

tbonfort commented 12 years ago

Author: sdlime Date: 2007/07/25 - 21:42 Do you see the same behavior with your spiral example? I didn't notice any reduction in AGG quality post clearing the alpha buffer. That change doesn't impact AGG, just the GD image alpha channel post rendering.

Steve

tbonfort commented 12 years ago

Author: woodbri Date: 2007/07/25 - 22:26 FYI: I will be gone until Tuesday July 31st.

http://imaptools.com/cgi-bin/mapserv-4.99?mode=map&map=/u/data/test/spiral.map

I changed the background color to black to get more contrast and you can see the jaggies in spiral.

tbonfort commented 12 years ago

Author: sdlime Date: 2007/07/26 - 01:04 I pulled the alpha reset code from mapdraw.c... Will pursue an alternate solution.

Steve

tbonfort commented 12 years ago

Author: sdlime Date: 2007/07/30 - 20:00 Ok, Thomas Bonfort has been very helpful is putting the finishing touches on the AGG support. Marking as closed. Let me know if you find otherwise.

Steve