Opened 17 years ago

Closed 17 years ago

#2177 closed defect (fixed)

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 (4)

comment:1 by sdlime, 17 years ago

Status: newassigned

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

comment:2 by woodbri, 17 years ago

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.

comment:3 by sdlime, 17 years ago

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

Steve

comment:4 by sdlime, 17 years ago

Resolution: fixed
Status: assignedclosed

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.