Ticket #2177 (closed defect: fixed)

Opened 6 years ago

Last modified 6 years ago

AGG anti-aliasing does not appear to be working

Reported by: woodbri Owned by: sdlime
Priority: normal Milestone: 5.0 release
Component: AGG Version: 5.0
Severity: normal Keywords:
Cc:

Description

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

Change History

Changed 6 years ago by sdlime

  • status changed from new to assigned

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

Changed 6 years ago by woodbri

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.

Changed 6 years ago by sdlime

I pulled the alpha reset code from mapdraw.c... Will pursue an alternate solution.

Steve

Changed 6 years ago by sdlime

  • status changed from assigned to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.