J.Pietschmann wrote:
Jason Pettiss wrote:
I'm trying to embed an image in PDF, the JPG and GIF formats show up great. But PNG does not. Adding JIMI to my classpath causes the FOP driver to freeze forever (without consuming any CPU).

My guess is there is something wrong with the PNG, or with the server
delivering it. Can you view the PNG using a browser? You may consider
using a file URL (unless the PNG is dynamically generated).

My guess: the OP is using the 0.20.x branch of FOP, which doesn't support reading images through ImageIO. I believe the trunk does, and the support can probably be backported to 0.20.x.

(We had exactly the same problem here.)

Daniel


--
Daniel Noll

Nuix Pty Ltd
Suite 79, 89 Jones St, Ultimo NSW 2007, Australia    Ph: +61 2 9280 0699
Web: http://www.nuix.com.au/                        Fax: +61 2 9212 6902

This message is intended only for the named recipient. If you are not
the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
message or attachment is strictly prohibited.

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

Reply via email to