Re: Embedding an image in a diagram?



The only possible way would be to embed the image in the file format (á la Open Office - try changing an odt file into a zip file and opening it - odts are just zip files containing XML and images). However, that would require a re-write of the file handling mechanisms, so I hope Ian's suggestion would work.

Nick Moore

On 12/15/06, Ian Redfern <Ian Redfern logicacmg com> wrote:
If you put the image in your local directory and then insert it as just file.jpeg, say, without any path, then the image filename in the .dia file also gets stored without any path, and should be usable cross-platform.

I don't know any other way of making embedded images in Dia portable between machines, let alone between OSes.

On Fri, 2006-12-15 at 13:39 +0100, christian ridderstrom gmail com wrote:
Is there a way to embed an image in a diagram?

I know about the image object, but that uses a path to an external image.
Since I would like the diagram to be correct on both a windows and a linux 
system, I obviously get into problems with the path then.

So, is there a way that I can embed the image?

Alternatively, it might work if it was possible to specify alternative 
paths to the inserted image. Then if the first path doesn't work, the 
second path will be used.

Should I file any of the above in bugzilla?

cheers
/Christian



This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.


_______________________________________________
Dia-list mailing list
Dia-list gnome org
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://www.gnome.org/projects/dia/faq.html
Main page at http://www.gnome.org/projects/dia






--
Well you wore out your welcome
With random precision
Rode on the steel breeze

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