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…...need to ensure that you are processing each frame of the TIFF file...the TIFF image TiffImage tiffImage = (TiffImage) Image.load(imageStream);...