[xep-support] Embedded SVG Error
Hood, Earl
earl.hood at hp.com
Thu May 22 17:50:00 PDT 2008
> 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?
--ewh
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo at renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.html
More information about the Xep-support
mailing list