You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Celine Murphy <cm...@hemscott.co.uk> on 2003/03/10 11:19:40 UTC
Cropped Images
Hi,
I am trying to embed an image into the pdf. But if the image is cropped of
white space before I try and embed it I get an exception when trying to
convert it.
Exception in thread "main" java.lang.NoClassDefFoundError:
javax/media/jai/Plana
rImage
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at
org.apache.fop.image.FopImageFactory.getGenericImageClassName(FopImag
eFactory.java:236)
Can anyone explain to me why fop doesn't seem to like cropped images? If the
image is not cropped then no error occurs.
Thanks in advance.
Celine
This e-mail and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you are not the intended recipient, you should not copy, retransmit or
use the e-mail and/or files transmitted with it and should not disclose
their contents. In such a case, please notify netwebmaster@hemscott.co.uk
and delete the message from your own system. Any opinions expressed in this
e-mail and/or files transmitted with it that do not relate to the official
business of this company are those solely of the author and should not be
interpreted as being endorsed by this company.
Re: Cropped Images
Posted by Christian Geisert <ch...@isu-gmbh.de>.
Celine Murphy wrote:
> Hi,
>
> I am trying to embed an image into the pdf. But if the image is cropped
> of white space before I try and embed it I get an exception when trying
> to convert it.
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/media/jai/Plana
> rImage
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:140)
> at
> org.apache.fop.image.FopImageFactory.getGenericImageClassName(FopImag
> eFactory.java:236)
>
> Can anyone explain to me why fop doesn't seem to like cropped images? If
> the image is not cropped then no error occurs.
I can only guess that you are using different image formats (say the
uncropped image is a GIF and the cropped one is a PNG)
Another guess: If you are using 0.20.5rc please try 0.20.5rc2
Christian
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org