[mapguide-users] AGG vs GD rendering

Traian Stanev traian.stanev at autodesk.com
Thu Feb 21 15:38:45 EST 2008


Antialiased lines of width 1 pixel do generally look a bit thicker than they should, when compared to non-AA lines. This is because exact pixel coverage is computed, and neighboring pixels are also affected a little bit. Some more in-depth explanations can be found here:

http://www.antigrain.com/tips/line_alignment/line_alignment.agdoc.html#PAGE_LINE_ALIGNMENT
http://www.antigrain.com/doc/introduction/introduction.agdoc.html#toc0002


That said, it may be possible to play around with gamma correction values to make the lines less visually thick, but they would still look fuzzy. However, a different gamma would be necessary for dark vs. light background colors, so it would not be a universal solution.

Traian



> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-
> bounces at lists.osgeo.org] On Behalf Of Zac Spitzer
> Sent: Thursday, February 21, 2008 4:23 AM
> To: MapGuide Users Mail List
> Subject: [mapguide-users] AGG vs GD rendering
>
> I have put some screenshots on my blog contrasting the results of using
> AGG and GD renderers
>
> http://zacster.blogspot.com/2008/02/mapguide-20-agg-versus-gd-
> renderers.html
>
> The AGG lines seem to be too thick?
>
> z
>
> --
> Zac Spitzer -
> http://zacster.blogspot.com (My Blog)
> +61 405 847 168
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users


More information about the mapguide-users mailing list