PdfWriter.getInstance(document, new FileOutputStream("imageChunks.pdf"));
// step 3: we open the document
document.open();
// step 4: we create a table and add it to the document
Image img = Image.getInstance("pngnow.png");
img.scalePercent(70);
Chunk ck = new Chunk(img, 0, -5);
PdfPTable table = new PdfPTable(3);
PdfPCell cell = new PdfPCell();
cell.addElement(new Chunk(img, 5, -5));
cell.setBackgroundColor(new Color(0xC0, 0xC0, 0xC0));