Link
Skip to main content

Convert TIFF to multipage TIFF

JDeli is able to convert individual TIFF images into a single multipage Tiff file.

Read / Write methods for converting from TIFF into Multipage TIFF file

  1. Read TIF image into Java (also handles other supported images)
     BufferedImage image = JDeli.read(imageFile);
    

    or

     TiffDecoder decoder = new TiffDecoder();
     BufferedImage image = decoder.read(imageData);
    
  2. Process image if needed
  3. Write out Java image to a multiple image TIFF (will be append if file exists or created if not).
     final TiffEncoderOptions options = new TiffEncoderOptions(); 
         
     //set any options in options instance - examples below 
     options.setCompressionFormat(TiffCompressionFormat.DEFLATE); 
     options.setXmpMetaData("xmp metadata");
         
     TiffEncoder encoder = new TiffEncoder(options);
     encoder.append(image, outputFileName);
    

    This uses the TiffEncoder class


Get started with JDeli in 3 steps

  1. Fill in the form to download the trial jar →
  2. Copy the code snippets as instructed on the next page
  3. Build your solution using our docs

Learn more about JDeli

Start Your Free Trial