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(tiffPath)) { Page newPage = mergedDoc.getPages()...tiffImage.getFrameCount(); i++) { Page newPage = mergedDoc.getPages()...