TIFF/TIF to PDF in COM/ActiveX
How to Convert TIFF to PDF
TIFF or multi page TIFF can be converted to PDF using the DynamicPDF Core Suite TiffFile class.. DynamicPDF Core Suite provides more control of 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 theImageReuse topic from our help documentation for more information.
Steps to Convert TIFF/Multipage TIFF to PDF
- Create a
Document
object. - Append a TIFF file to the Document instance.
- Draw the output PDF to browser.
Sample Code - ASP
Dim MyDocument
Set MyDocument = Server.CreateObject("DynamicPDF.Document")
MyDocument.AppendTiffFile Server.MapPath("MyMultipageTiff.tiff")
MyDocument.DrawToWeb
Getting Started
DynamicPDF Generator Information
More information on DynamicPDF Generator can be found from its webpage.
Available on Other Platforms
DynamicPDF Generator is also available for the .NET and Java platforms. Refer to the respective product pages for more details.
- .NET - DynamicPDF Generator for .NET
- Java - DynamicPDF Generator for Java