Data URI

Hi,
Is it possible to use the [image] tag to embed a data URI string?
i.e. simple.dot: (should display a red dot image)
 

digraph G {
 
rankdir="LR";
A -> B [label="test 1"];
 
A [image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="];
B [label="foo"];
 
}

dot simple.dot -o simple.svg -Tsvg
 

Warning: No such file or directory while opening data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==
Warning: No or improper image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==" for node "A"
 
The resulting graph is displayed without the image in node A .
 
Would you have any idea how to fix this?

 
Thanks!

Data URI

Inline images are not currently supported, only images stored in files. It is a reasonable feature request and probably wouldn't be that hard to implement.

Data URI

Thanks I've just filed the feature request... 
 

Recent comments