<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Roy Dennington wrote:
<blockquote cite="mid:F3835DE4E0BB42BF9D1D5B1B7509DA97@ROYWORK"
type="cite">
<pre wrap="">Philippe,
I haven't tried adding bitmaps to SVG. Doesn't that defeat the purpose?
</pre>
</blockquote>
Well, I do not believe it does. We use SVG graphics a lot when writing
technical documentation on interactive software for instance;
screenshots (of the interactive application) are imported as PNG images
into the SVG graphic, whereas annotations and symbols (as arrows, etc
etc) are added in vectorial form allowing a proper resize without loss
of resolution. <br>
<br>
That's the main usage of SVG graphic in my company (another one is logo
editing). The same SVG graphic is used for both HTML and printed (PDF)
output; of course, no processing is involved for HTML output.<br>
<blockquote cite="mid:F3835DE4E0BB42BF9D1D5B1B7509DA97@ROYWORK"
type="cite">
<pre wrap="">
You can always compose a small demo illustrating the problem.
</pre>
</blockquote>
The problem is straightforward to reproduce: just pick up any JPG, or
PNG file, launch your favorite SVG editor (we use Inkscape), import
the selected image as a bitmap, add any symbol or text and save the SVG
file (./images/my_svg.svg). Then insert it into your DocBook/XML file:<br>
<pre wrap=""><mediaobject>
<imageobject>
<imagedata fileref="images/my_svg.svg"/>
</imageobject>
</mediaobject>
If you convert your .xml file into PDF using XSL-FOP (from Apache), the result is fine, if you use XEP, the bitmap is replaced by an empty rectangle and only the added text or symbol are left.
Thanks for your reply.
Best regards.
</pre>
<br>
<div class="moz-signature">-- <br>
<img src="cid:part1.01080808.09010004@cggveritas.com" border="0"></div>
</body>
</html>