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
LwgImage img = LwgImage.getInstance("pngnow.png");
img.scalePercent(70);
Chunk ck = new Chunk(img, 0, -5);
LwgPdfPTable table = new LwgPdfPTable(3);
LwgPdfPCell cell = new LwgPdfPCell();
cell.addElement(new Chunk(img, 5, -5));
cell.setBackgroundColor(new Color(0xC0, 0xC0, 0xC0));