I was able to load the image into the pdf by loading it directly from a
file instead of a servlet. 

I do have another problem, has any one had some success with Multipage
tiff. I downloaded TIFFRenderer for FOP, version 0.9 and used that but I
have been unsucessful with using it and generating a PDF from it. If I
just use the standard renderer "Driver.RENDER_PDF" the tiff image is
loaded but only loads the first image.

Does any one have any ideas??

Thanks Cameron


>>> [EMAIL PROTECTED] 03/31/2004 10:17:46 AM >>>
Cameron Ingram wrote:

<snip/>

> Reverting to TIFF image handling through JAI: Error while loading
image
> http://localhost:8080/generatepdf/genpdf?file=00002.TIF : class
> org.apache.fop.image.TiffImage - length mismatch on read
> 
> What does this error mean??
> 
> If any one could provide some help, it would definatly be
appreciated.

Have you read the following page on Fop's website?

http://xml.apache.org/fop/graphics.html#tiff 

sounds like your Tiff doesnt meet with the requirements stated.

Chris



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



-----------------------------------------------------------------------
This e-mail is intended for the addressee shown. 
It contains information that is confidential and 
protected from disclosure. Any review, dissemination 
or use of this transmission or its contents by persons 
or unauthorized employees of the intended organizations 
is strictly prohibited. 

The contents of this email do not necessarily represent 
the views or policies of PSCU Financial Services.


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

Reply via email to