AW: [mapserver-users] Image Symbol Rendering Quality
Eichner, Andreas - SID-NLKM
Andreas.Eichner at sid.sachsen.de
Mon Feb 14 23:43:26 PST 2011
Just an idea: You are using PNG images as labels which get transformed (rotated) and the AGG renderer draws them using anti-aliasing. But MapServer tends to cut short some code paths and so it probably does for simple transforms like rotation by 90/180/270° and which might ommit anti-aliasing... Since code says more than thousand words, what version are you using? BTW: What's the reason to use pre-rendered labels?
-----Ursprüngliche Nachricht-----
Von: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] Im Auftrag von Adam Eskreis
Gesendet: Montag, 14. Februar 2011 21:25
An: mapserver-users at lists.osgeo.org
Betreff: [mapserver-users] Image Symbol Rendering Quality
Hey All,
I am having a strang problem with my map. I am creating a layer composed entirely of PNG symbols. However, there is a very strang problem I am experiencing: Not all of the symbols are rendering iwth the same quality. This is best seen with the following image:
http://img708.imageshack.us/i/symbolquality.png/
As you can see, the circled image is far more "crisp" than the rest of the images, which appear blurry. I've checked the image quality of the original images for all these images that appear blurry, and they are all good quality images that appear as crisp and clear as the circled image, but when mapserver renders them, they are losing significant quality. Why would this image appear more clear than the others?
I am using AGG as my renderer, using pngs for input and output. This is my outputformat directive in the mapfile:
OUTPUTFORMAT
NAME "AGGA"
MIMETYPE "image/png; mode=24bit"
DRIVER "AGG/PNG"
IMAGEMODE "RGBA"
TRANSPARENT TRUE
EXTENSION "PNG"
FORMATOPTION "INTERLACE=FALSE"
END
Any ideas or help would be great. Thanks.
-Adam
More information about the MapServer-users
mailing list