Hi Jeff,

jeffupt <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to