#2745 closed enhancement (duplicate)
Allow option for rendering 'thinner' lines with AGG output
Reported by: | springmeyer | Owned by: | tbonfort |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | AGG | Version: | unspecified |
Severity: | minor | Keywords: | agg, line width |
Cc: | dmorissette, sdlime |
Description
Mapnik allows for users to specify fractional width for line symbolizers. These are interpreted by the agg renderer in such a way that the line looks thinner, whereby the color and intensity is lessened.
My opinion is that this 'thinner' output is a desirable feature, and users would benefit from either being able to supply fractional line widths or use an AGG renderer FORMATOPTION for different results.
This message captures the mapnik comparison issue and includes links to the images compared and the mapserver mapfile used.
http://www.nabble.com/Re%3A-Fractional-line-widths--p19041876.html
Attachments (4)
Change History (10)
by , 16 years ago
Attachment: | comparison_of_agg_rendering.png added |
---|
comment:2 by , 16 years ago
comment:3 by , 16 years ago
Cc: | added |
---|
comment:4 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Those tickets do address the issue. You can set fractional line widths and the AGG code uses those values. GD still rounds values to the nearest int but it works great for AGG. Download the dev code and try it!
Steve
comment:5 by , 16 years ago
Great stuff! I finally had a chance to rebuild with the latest SVN Head(r7971) and yes, the thinner line width look great.
Awesome improvement!
by , 16 years ago
Attachment: | mapserver_0.1_line_width.png added |
---|
Mapserver example graphic with 0.1 line width using AGG renderer
by , 16 years ago
Attachment: | mapnik_0.1_line_width.png added |
---|
Mapnik example graphic width 0.1 line width using AGG renderer
comment:6 by , 16 years ago
by , 16 years ago
Attachment: | close_comparison.png added |
---|
New comparison using fractional widths in mapserver
Screen shot of image comparison, mapnik left, mapserver right