Hi,

(Re-sent as edited to mailing list because the body was originally too long.

Are you sure about “I actually found that 6.4 produced small, aliased images 
with both the GD and AGG drivers”.  Originally the AGG library could only do 
anti-aliasing and that affected also Mapserver 5 
https://lists.osgeo.org/pipermail/mapserver-users/2007-September/025467.html.

I guess that Mapnik folks have since that added support for controlling 
anti-aliasing with gamma setting http://mapnik.org/mapnik-reference/.
I can see that gamma can be used also with Mapserver 
https://www.mapserver.org/mapfile/outputformat.html

Have a try with gamma=0. However, Even wrote that turning off antialiasing is 
possible only in master, so perhaps gamma=0 does not work.

The documentation for Mapserver 5 tells that “All ANTIALIAS keywords are now 
ignored". But the keyword still appears in quite a many places:
https://mapserver.org/search.html?q=antialias

Would it be time to remove them as well as now not useful references to GD 
renderer (removed by RFC 99 in 2013)?

-Jukka Rahkonen-


Lähettäjä: mapserver-users 
<[email protected]<mailto:[email protected]>>
 Puolesta Richard Greenwood
Lähetetty: maanantai 17. toukokuuta 2021 15.26
Kopio: [email protected]<mailto:[email protected]>
Aihe: Re: [mapserver-users] differing image size with different mapserver 
versions

Thanks for the suggestions. The consensus seems to be that anti-aliasing is 
causing the increased size. The documentation 
here<https://mapserver.org/output/antialias.html> says "Since version 6.0, 
MapServer will produce aliased output for the “gd/” drivers, and antialiased 
output for the “agg/” and “cairo/” ones" and it's also mentioned 
here<https://lists.osgeo.org/pipermail/mapserver-users/2012-April/072011.html> 
in Thomas Bonfort's reply. I actually found that 6.4 produced small, aliased 
images with both the GD and AGG drivers and regardless of my ANTIALIAS 
true/false setting.

Would anyone consider re-enabling the ANTIALIAS true/false option?

Thanks,
Rich




_______________________________________________
mapserver-users mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to