iText输出图片用Image类。
Document document = new Document(PageSize.A4);
try{
PdfWriter writer = PdfWriter.getInstance(document,
new FileOutputStream("H:\\workspace\\PdfDemo\\iText3.pdf"));
document.open();
document.addTitle("第3个pdf文档");
Image image = Image.getInstance("iText.jpg");
image.scalePercent(150f);
document.add(image);
document.close();
}catch(Exception e){
e.printStackTrace();
}