itext pdf image is not showing

时间:2015-06-25 18:46:26

标签: java pdf itextpdf

I use itextpdf version 5.5.5 and I want to show image on the pdf. The API I use is com.itextpdf.text.Image and the input for constructor is an InputStream Image image = Image.getInstance(IOUtils.toByteArray(inputstream)); The problem is that the image doesn't diplay but I still can read the attributes of the image like width and height and others ... Those attributes are correctly displayed. Any advise for this issue really appreciated.

0 个答案:

没有答案