title: iText7 to convert PDF to Tiff
body: <p>I am able to convert PDF to TIFF using iText but it generates a TIFF file per page. I would like to generate one TIFF file with all the pages.</p>
  <p>Here is my code:</p>
  <pre class="lang-java prettyprint-override"><code>final RenderingProperties properties = new RenderingProperties();
  properties.setImageType(PdfRenderImageType.TIFF);
  PdfToImageRenderer.renderPdf(new File(flatFileName), new File(destFileName)
      +&quot;/my-custom-filename-%d&quot;, properties);
  </code></pre>