[graphviz-interest] Trouble scaling placed images

paul womack <[email protected]> Thu, 09 Jan 2014 13:28:10 +0000
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
I am trying to use GraphViz to draw family trees. After some
trouble with my data not following the rules
I gave GraphViz (found and fixed, thanks to Mr Ganser)
I have moved on to try to make the output
"pretty".

For some individuals in my dataset I have (mainly JPEG) portrait shots,
which I would like to add to their "person" node.

An HTML record is a natural for this, so I used
a table, which either has either a single cell (for the text)
or 2 cells, using the extra cell for the portrait.
The portrait TD cell is made :

<TD WIDTH="50" HEIGHT="50" FIXEDSIZE="TRUE"><IMG SCALE="TRUE" SRC="$path"/></TD>@

(i.e. fix the size of the cell, and scale the image to fit)

Sadly, this simply doesn't work.

If I make the cell like this:

<TD WIDTH="50" HEIGHT="50" FIXEDSIZE="TRUE" BGCOLOR="#ff0000">dummy</TD>

I get sensible results.

When I actually place the images, they're around 8-9 times (!!) bigger
than the cell seen in the "dummy" run.

I have tested to both PNG and PDF outputs.

  BugBear
_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest