Opened 14 years ago

Closed 14 years ago

# Image maps are shifted when png antialias is turned on.

Reported by: Owned by: Peter Kropf Peter Kropf normal GraphvizPlugin normal kilian.cavalotti@…

### Description

It looks as if the image map coordinates are off when the rsvg program is used to generate a png from a svg file and graphviz generates the image map.

### comment:1 Changed 14 years ago by anonymous

Resolution: → fixed new → closed

graphviz processors (dot, neato, ...) use 96dpi as a default output resolution. rsvg needs to know what dpi setting is used to rasterize the SVG image, and to create a PNG image with the same size graphviz would have created directly.

So we now use --dpi-x and --dpi-y rsvg arguments, and set them to 96 if no default_graph_dpi setting is seen in the trac.ini [graphviz] section.

Fixed in v0.5

### Modify Ticket

Change Properties