You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by Pa...@rta.nsw.gov.au on 2000/06/09 02:50:15 UTC

Image problem

When trying to embed an image in a document via :-

<fo:inline-graphic height="100px" width="100px"
href="file:/c:/images/logo.gif" />

I got the following error :-

FOP 0.12.2 [dev]
using SAX parser org.apache.xerces.parsers.SAXParser
using renderer org.apache.fop.render.pdf.PDFRenderer
using element mapping org.apache.fop.fo.StandardElementMapping
using element mapping org.apache.fop.svg.SVGElementMapping
building formatting object tree
setting up fonts
formatting FOs into areas
 [1java.lang.UnsatisfiedLinkError: parseImage
        at sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:558)
        at sun.awt.image.GifImageDecoder.produceImage(Compiled Code)
        at sun.awt.image.InputStreamImageSource.doFetch(Compiled Code)
        at sun.awt.image.ImageFetcher.fetchloop(Compiled Code)
        at sun.awt.image.ImageFetcher.run(Compiled Code)

I am using java 1.1.7

Any ideas ??

Thanks very much in advance.

               Paul


Re: Image problem

Posted by Eric SCHAEFFER <es...@posterconseil.com>.
Sorry, I hadn't time to read my mails.

If you want to insert images in your documents, download the last CVS
source.
Gif and Jpeg images work fine, even transparent Gifs (there are some small
problems sometime, but it will be better in a few days).
For now, you can use also Jimi (look at SUN's site) to load images, but you
need to change the last lines of org.apache.fop.image.FopImageFactory and
recompile.

Eric.


----- Original Message -----
From: <Pa...@rta.nsw.gov.au>
To: <fo...@xml.apache.org>
Sent: Friday, June 09, 2000 2:50 AM
Subject: Image problem


> When trying to embed an image in a document via :-
>
> <fo:inline-graphic height="100px" width="100px"
> href="file:/c:/images/logo.gif" />
>
> I got the following error :-
>
> FOP 0.12.2 [dev]
> using SAX parser org.apache.xerces.parsers.SAXParser
> using renderer org.apache.fop.render.pdf.PDFRenderer
> using element mapping org.apache.fop.fo.StandardElementMapping
> using element mapping org.apache.fop.svg.SVGElementMapping
> building formatting object tree
> setting up fonts
> formatting FOs into areas
>  [1java.lang.UnsatisfiedLinkError: parseImage
>         at
sun.awt.image.GifImageDecoder.readImage(GifImageDecoder.java:558)
>         at sun.awt.image.GifImageDecoder.produceImage(Compiled Code)
>         at sun.awt.image.InputStreamImageSource.doFetch(Compiled Code)
>         at sun.awt.image.ImageFetcher.fetchloop(Compiled Code)
>         at sun.awt.image.ImageFetcher.run(Compiled Code)
>
> I am using java 1.1.7
>
> Any ideas ??
>
> Thanks very much in advance.
>
>                Paul
>