Title: RE: Cropped Images

Thanks Christian,

I just looked through the code and yes indeed the image is being cropped in PNG format but being written out as a gif. I changed to crop to a gif and it is working fine now thanks.


Celine

-----Original Message-----
From: Christian Geisert [mailto:[EMAIL PROTECTED]]
Sent: 10 March 2003 10:25
To: [EMAIL PROTECTED]
Subject: Re: Cropped Images


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


_____________________________________________________________________
This e-mail has been scanned for viruses by the WorldCom Internet Managed Scanning Service - powered by MessageLabs. For further information visit http://www.worldcom.com

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 [EMAIL PROTECTED] 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.

Reply via email to