xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thomas.dewe...@kodak.com
Subject Re: Exception with Embedded Images
Date Sat, 11 Aug 2007 18:19:35 GMT
Hi Jeff,

jeffupt <jeffupt@gmail.com> wrote on 07/27/2007 11:05:17 AM:

> When trying to 'Build' the document in my swing application with the
> following code:

> I receive the following exception:
> 
> The URI "data:image/jpeg;base64,/9j/4AAQS....<data removed to keep 
message
> small>"
> on element <image> can't be opened because:
> JPEG URL is corrupt or unsupported variant
> 
> However, the SVG file opens fine in the Batik Squiggles application and 
on
> Firefox. Even more weird - a small test application that I wrote does 
not
> throw the exception even though this test application uses the same 
exact
> code to build the document.

   Do you have 
svg12-batik/resources/META-INF/services/org.apache.batik.ext.awt.image.spi.RegistryEntry
On your class path.  Without it Batik won't find the JPEG decoder and 
won't
be able to decode JPEG files.


---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Mime
View raw message