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) {
…...image file path to the Image object, consider using a stream or...is used to create an image object from the buffered image, which...