Page 1 of 1

Installed JIMI, still no PNG pics in PDF output

Posted: Sat Apr 22, 2006 12:06 am
by fncll
I installed JIMI according to the instructions: downloaded the JIMI archive, located the ZIP file inside, put it in the Oxygen /lib directory, renamed it to jimi-1.0.jar and restarted Oxygen.

No joy.

If I replace the
<imagedata fileref="flickr-0001.png" format="PNG" />
with
<imagedata fileref="flickr-0001.gif" format="GIF" />
the image appear.

both flickr-0001.png and flickr-0001.gif are in the same directory with the document and open just fine in graphic editors.

Basic Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article SYSTEM "file:/C:/Program%20Files/Oxygen%207.1/frameworks/docbook/dtd/sdocbook.dtd">
<article>
<title>Introduction to Social Software with Flickr</title>
<figure><title>flickr Home Page</title>
<mediaobject>
<imageobject>
<imagedata fileref="flickr-0001.gif" format="GIF" />
</imageobject>
</mediaobject>
</figure>
</article>

Posted: Sat Apr 22, 2006 12:10 am
by fncll
I should note that I have the same problems when I use the local docbok

Solved...

Posted: Sat Apr 22, 2006 2:02 am
by fncll
I solved this problem by installing the JAI files instead!

Re: Installed JIMI, still no PNG pics in PDF output

Posted: Tue Apr 25, 2006 11:03 am
by sorin_ristache
Hello,
fncll wrote:I installed JIMI according to the instructions: downloaded the JIMI archive, located the ZIP file inside, put it in the Oxygen /lib directory, renamed it to jimi-1.0.jar and restarted Oxygen.

No joy.
I also tried with a PNG image located in the same folder as the XML document and Jimi installed as you describe and it was displayed in the PDF result without problems. Did you use Apache FOP in the transformation ? Do you see the line

Code: Select all

[INFO] JAI support was not installed (read: not present at build time). Trying to use Jimi instead
in the FOP output (Options -> Preferences -> XML -> XSLT/FO/XQuery -> FO Processors -> Enable the output of the built-in FOP) ?

Regards,
Sorin