RE: [xep-support] Embedded SVG Error

From: Hood, Earl <>
Date: Thu May 22 2008 - 17:50:00 PDT

> I have the following inline SVG. The SVG was exported from
> InDesign, then
> manipulated in Inkscape. The <image> originally looked like this:
> <image xlink:href="data:;base64,iVBORw
> Originally was getting a MIMEtype error.
> I found a posting that said that Adobe was export SVG wrong
> so I changed
> it to:
> <image xlink:href="data:image/jpeg;base64,iVBORw
> The error that I am getting now says:
> Premature end of file or corrupt data in JPEG image [instream]

I do not know the details of XEP's SVG support, but
a possible work-around is to decode the base64 data
into an external file and change the SVG to use an
external reference.

As a comparison, you can extract out the inline SVG into a
separate file and reference it from the FO to see if XEP handles
it correctly. If so, then the problem may be specific to
inline SVG graphic processing versus the embedded raster in
the SVG.

What version of XEP are you using?


(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service
Received on Thu May 22 19:54:10 2008

This archive was generated by hypermail 2.1.8 : Thu May 22 2008 - 19:54:15 PDT