Patrick Ngok wrote:

> Dear Sir,
> As I use iText to generate PDF with image inside:
> PdfPTable tblCellRow1 = null;
> ....
> byte[] img1;
> ...
> tblCellRow11.addCell(Image.getInstance(img1));
> The pdf can be generated, but the information like 'insufficient image
> information' is shown when the pdf is shown, and such pdf file can't
> be printed by printer. Such image is retrieved from oracle database as
> jfiff format, and can't be save as a .jpg file.
> So, what can i do, thanks a lot for your kindly attention !

We've already had this discussion on the list recently.
Please read:
http://thread.gmane.org/gmane.comp.java.lib.itext.general/24954/focus=24978
The error is in the way you retrieve the image bytes from the database.
br,
Bruno

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to