Duplicate image is creating when i try to convert into pdf is there any issue in this sample code?
class ImageProcessor implements FileProcessor {
@Override
public void processFile(Document pdfDocument, File file) {
…...50 * 72; Page page = pdfDocument.getPages().add(); page.setPageSize(pageWidth...(VerticalAlignment.Center); page.getParagraphs().add(image);...