RE: Exporting shapes with images



Marshall, Steven J. [mailto:Steven Marshall jhuapl edu] wrote:

I have a project that requires us to be able to make diagrams out of
pre-defined images, and was hoping to use dia to accomplish 
this task, as
our group has used dia for uml diagramming in the past. It 
would be nice to
be able to make a sheet out of these images, so it would be 
easy for others
to accomplish this. However, my attempts to export shapes 
with images in
them and then make a sheet out of these shapes have failed 
thus far: lines
and other SVGs show up fine, the image is displayed in the 
.png icon, the
svg part of the shape has an xlink:href to the image, but the 
images are
non-existant when the shape is placed into a diagram. Is 
there something
else I should be doing? 

As far as I understand it, custom shapes cannot include images currently. If
you wish to check this out further take a look at the code in objects/custom
or the documentation in doc/custom-shapes. It looks like the shapes plug-in
which exports the shapes SVG file is including the xlink:href which the
custom shapes code can't handle.

Regards,
Rob.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]