[graphviz-interest] Bug involving images and svg output

Greg Michalec <[email protected]> Thu, 06 Mar 2014 15:20:46 -0800
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
Hi all -
I've noticed an odd bug since upgrading to 3.36 - when i have a graph
with nodes containing images and imagescale=true (implying the image
will scale to fill the node), the svg output contains extra padding
between the node border and the image. I've done some testing, and
concluded that this only seems to happen with svg output (versus
jpg/png), and only happens with GV versions more recent than 3.32
(including 3.37 from 3/6/14). 3.32 seems to work fine.

I'm attaching the dot file I am using to test,  as well as several
output svgs and pngs, named for the version of GV that generated them.


Let me know if there's anything more I can do to track this down.

Thanks -
--greg michalec
photo.jpg (image/jpeg, 9.9 KB) - not displayed
test.dot (application/msword-template, 336 B) - not displayed
test-2.26.svg (image/svg+xml, 969 B) - not displayed
test-2.30.svg (image/svg+xml, 1001 B) - not displayed
test-3.30.svg (image/svg+xml, 1001 B) - not displayed
test-3.32.png (image/png, 264.5 KB) - not displayed
test-3.32.svg (image/svg+xml, 1001 B) - not displayed
test-3.34.svg (image/svg+xml, 1005 B) - not displayed
test-3.36.png (image/png, 271.6 KB) - not displayed
test-3.36.svg (image/svg+xml, 962 B) - not displayed
test-3.37.png (image/png, 190.2 KB) - not displayed