Re: Graphics in AbiWord files

Matt Kimball (robozapp@xmission.com)
Mon, 24 May 1999 09:35:29 -0600


On Sun, May 23, 1999 at 10:11:42PM -0700, Robert G. Werner wrote:
> How does Abi store the graphic file in relation to the
> document that it is embeded in?

Jeff and Eric have already told you about embedding raster graphics,
(convert to PNG, store in a <data> section). For vector graphics, it
looks like it might be convenient to convert to SVG and use XML
namespacing to embed the SVG directly in the middle of the document.
Like this:

<abiword>
<section>
<p>Here is my beautiful image:
<svg:svg width="2in" height="2in">
<svg:g style="fill: red">
<!-- ... Some nice path here ... -->
</svg:g>
</svg:svg>
</p>
<p>Wasn't that nice?</p>
</section>
</abiword>

-- 
Matt Kimball
mkimball@xmission.com


This archive was generated by hypermail 1.03b2.