Installed JIMI, still no PNG pics in PDF output

Having trouble installing Oxygen? Got a bug to report? Post it all here.
fncll
Posts: 8
Joined: Wed Mar 31, 2004 5:20 am

Installed JIMI, still no PNG pics in PDF output

Post 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>
fncll
Posts: 8
Joined: Wed Mar 31, 2004 5:20 am

Post by fncll »

I should note that I have the same problems when I use the local docbok
fncll
Posts: 8
Joined: Wed Mar 31, 2004 5:20 am

Solved...

Post by fncll »

I solved this problem by installing the JAI files instead!
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

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

Post 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
Post Reply