TIFF/TIF to PDF in Java
TIFF to PDF or multiplage TIFF to PDF conversion can be done using the DynamicPDF Converter and DynamicPDF Generator product.
How to Convert TIFF to PDF
TIFF or multi page TIFF can be converted to PDF using the TiffFile class from the Generator product. The Generator product gives more control on individual page elements if any are being added to the PDF in additiong to from converting TIFF to PDF.
ImageData can also be reused if images are being added individually using the Image class to the PDF to save memory and to reduce the output PDF size. Please refer to the ImageReuse topic from our help documentation for more information.
Steps to Convert TIFF/Multipage TIFF to PDF
- Create a
TiffFile
object by passing the TIFF file name. - Create a
Document
object from the TiffFile. - Invoke the
Draw
method on theDocument
to output the PDF.
Sample code - Java
TiffFile tiffFile = new TiffFile("MyMultipageTiff.tiff");
Document document = tiffFile.getDocument();
document.Draw(@"Output.pdf");
Getting Started
DynamicPDF Generator Information
More information can be found here:
Available in Other Platforms
DynamicPDF Generator is available for the following platforms. Refer to the respective product pages for more details.
- .NET - DynamicPDF Generator for .NET
- COM/ActiveX - DynamicPDF Generator for COM/ActiveX