I want to merge a multipage tiff file to a pdf I used this function but only first frame of tiff got added , what do I need to change
private static int addTiffAsPages(Document mergedDoc, String tiffPath, int current…...(FileInputStream imageStream = new FileInputStream(tiffPath)) {...add(imageStream); newPage.getContents().add(new GSave()); Rectangle pageRect...