Re: PNG support in fop 0.20.3rc2

2002-02-25 Thread Christian Geisert

Sven Kitschke wrote:

> Hi all,
> 
> after switching from fop 0.20.3rc to fop 0.20.3rc2 i was
> surprised about the broken PNG support. I got a lot
> of error messages like
> [ERROR]: Error while creating area : Error creating
> FopImage object (Error creating FopImage object
> (file:/path-to-bitmaps/img01.png) :
> org.apache.fop.image.JimiImage
> 
> Finally i got it working - after a lot of time and
> copying jimi-1.0.jar to the lib directory and
> re-compiling the sources. The reason is the
> conditional compiling of the JimiImage.java only if the jimi.jar
> is present (build.xml).
> 
> I think, possible solutions are:
> 1. Please state this behavior more explicitly ("You have to make
> your own fop.jar if you want PNG support."),


It is mentioned in lib/readme ;-)
We should probably add some release notes ..

> OR
> 2. Make the Jimi support default - delete the conditional include
> of JimiImage.java.


This isn't possible because of licensing reasons
(don't ask me for details ;-)

3. Use another library

> My favorite is option 2.


Short term solution is 1.

> TIA, Sven

Christian


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]




PNG support in fop 0.20.3rc2

2002-02-25 Thread Sven Kitschke

Hi all,

after switching from fop 0.20.3rc to fop 0.20.3rc2 i was
surprised about the broken PNG support. I got a lot
of error messages like
[ERROR]: Error while creating area : Error creating
FopImage object (Error creating FopImage object
(file:/path-to-bitmaps/img01.png) :
org.apache.fop.image.JimiImage

Finally i got it working - after a lot of time and
copying jimi-1.0.jar to the lib directory and
re-compiling the sources. The reason is the
conditional compiling of the JimiImage.java only if the jimi.jar
is present (build.xml).

I think, possible solutions are:
1. Please state this behavior more explicitly ("You have to make
your own fop.jar if you want PNG support."),
OR
2. Make the Jimi support default - delete the conditional include
of JimiImage.java.

My favorite is option 2.

TIA, Sven


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]