VeryPDF TIFF To PDF ActiveX DLL is designed to empower developers with a comprehensive toolkit for managing PDF and image file conversions. Whether you're developing desktop applications or web-based solutions, this ActiveX DLL offers a versatile and efficient way to incorporate essential document processing features without relying on third-party software like Adobe Acrobat.
Image to PDF SDK/COM for Developers,
https://www.verypdf.com/app/image-to-pdf-ocr-converter/try-and-buy.html#buy-com
Image to PDF OCR Converter Command Line,
https://www.verypdf.com/app/image-to-pdf-ocr-converter/try-and-buy.html#buy-ocr-cmd
Core Functionality
The VeryPDF TIFF To PDF ActiveX DLL stands out for its robust and varied functionality, catering to a wide range of document and image processing needs:
- PDF to TIFF Conversion: This feature allows for the conversion of PDF documents into TIFF files, supporting both single-page and multi-page outputs. This is especially useful for applications that need to convert PDFs for archival purposes or for processing in image-based systems.
- TIFF to PDF Conversion: Conversely, the DLL enables the conversion of TIFF files—whether single or multiple pages—into a PDF document. This feature is invaluable for creating standardized PDF documents from scanned images or other TIFF sources.
- PDF to Image Conversion: This tool lets developers convert PDF documents into various image formats, including BMP, JPEG, WMF, EMF, EPS, PNG, and GIF. It’s particularly useful for applications that need to extract visual data from PDFs or generate image previews.
- Image Format Conversion: Beyond PDF-related conversions, this DLL also supports the conversion of various image formats into TIFF files, offering flexibility in handling image data within your application.
Development and Integration
The ActiveX DLL is designed with developers in mind, providing support for a broad array of programming languages and development environments:
- Supported Languages: It works seamlessly with VB Script, JavaScript, Perl, PHP, Python, ASP, ASP.Net, VB.Net, C#, VB6, ColdFusion, Delphi, VC++, and Java. This wide-ranging support ensures that developers can easily integrate the DLL into their existing projects, regardless of the programming language they are using.
- Sample Code and Documentation: The DLL comes with comprehensive documentation and example code to help developers get started quickly. Whether you're converting a TIFF file to PDF, generating an image from a PDF, or performing any other supported task, the provided sample code makes it easier to understand and implement these features.
Licensing and Deployment
One of the key benefits of the VeryPDF TIFF To PDF ActiveX DLL is its royalty-free licensing. This means that once you purchase the DLL, you can integrate it into your applications without any additional fees, regardless of how many copies or instances of your application are distributed.
- Royalty-Free Use: This is especially advantageous for developers and companies who need to deploy their applications on a large scale. You can incorporate the DLL into multiple applications and distribute them to end users without worrying about incurring additional costs.
- No Limits on Distribution: There are no restrictions on the number of applications or the scale of distribution. This flexibility is ideal for software companies and developers who aim to deploy their solutions widely across different user bases or environments.
Advanced Features and Flexibility
The VeryPDF TIFF To PDF ActiveX DLL offers advanced features that provide flexibility and control over the conversion process:
- Customizable Output Options: When converting files, you can specify various output options, such as DPI settings for images and different color depths for TIFF files (e.g., 24-bit RGB or 1-bit G4 TIFF). This allows you to tailor the conversion process to meet specific requirements, whether you need high-resolution images for printing or compressed formats for online use.
- Page Range Selection: For PDF conversions, you can specify particular page ranges to convert, giving you control over which parts of a document are processed. This feature is particularly useful for large documents where only specific sections need to be converted.
- Error Handling: The DLL returns detailed error codes for different failure scenarios, such as when source files do not exist or cannot be opened. This makes it easier to troubleshoot issues during the development and deployment phases.
- Password-Protected PDFs: The DLL supports the conversion of password-protected PDFs, making it suitable for applications that deal with secured documents. Developers can pass the necessary password to unlock and process these files programmatically.
Detailed ITIFF2PDFLib Interface Reference
The VeryPDF TIFF To PDF ActiveX DLL offers a rich set of functions through its ITIFF2PDFLib
interface, designed to give developers fine-grained control over PDF and image conversion tasks. Below is a detailed description of each function, including input parameters, output parameters, and return values.
1. TiffToPDF
Description:
Converts one or more TIFF files into a single PDF file.
Parameters:
inputTiffs
(String):
The TIFF files to be converted. Multiple files should be separated by the|
character. Each file can also have a specified range of pages if needed. For example,"file1.tiff|file2.tiff"
.outputPdf
(String):
The path and name of the resulting PDF file.
Return Values:
1
: Conversion was successful.0
: Conversion failed.-1
: The source image file is empty.-2
: The source image file does not exist.-3
: The source image could not be opened.-4
: The destination directory does not exist.
2. ImageToTiff
Description:
Converts one or more image files into a multi-page TIFF file.
Parameters:
inputImage
(String):
The image files to be converted, separated by|
. Example:"image1.bmp|image2.bmp"
.nDPI
(Long):
The resolution in DPI (dots per inch) for the output TIFF file. Typically set to72
.nImageOptions
(Long):
Specifies the type of TIFF to produce:0
for 24-bit RGB TIFF1
for 1-bit G4 TIFF
outputTiff
(String):
The path and name of the resulting TIFF file.
Return Values:
1
: Conversion was successful.0
: Conversion failed.-1
: The source image file is empty.-2
: The source image file does not exist.-3
: The source image could not be opened.-4
: The destination directory does not exist.
3. PdfToImage
Description:
Converts specified pages from a PDF file into image files.
Parameters:
inputPDF
(String):
The path of the PDF file to be converted.Password
(String):
The password to open the PDF file, if protected. If there is no password, pass an empty string""
.nDPI
(Long):
The resolution in DPI for the output images. Usually set to72
.PageRanges
(String):
Specifies the pages to convert, using ranges and comma separation. Example:"1,3,5-10"
.nImageType
(Long):
The format of the output image:0
for BMP1
for JPEG2
for WMF3
for EMF4
for EPS5
for PNG6
for GIF7
for TIFF
outputFile
(String):
The path and name for the output images. If%d
is used, it will be replaced by the page number. Example:"output%d.jpg"
.
Return Values:
1
: Conversion was successful.0
: Conversion failed.-1
: The source PDF file does not exist.-2
: The source PDF file could not be opened.-3
: The destination directory does not exist.-4
: The page ranges contain an error.
4. PdfToSingleTiff
Description:
Converts specified pages from a PDF file into a single multi-page TIFF file.
Parameters:
inputPDF
(String):
The path of the PDF file to be converted.Password
(String):
The password to open the PDF file, if it is protected. Pass an empty string""
if there is no password.nDPI
(Long):
The resolution in DPI for the output TIFF file. Usually set to72
.PageRanges
(String):
Specifies the pages to convert, using ranges and comma separation. Example:"1,3,5-10"
.nImageOptions
(Long):
Specifies the type of TIFF to produce:0
for 24-bit RGB TIFF1
for 1-bit G4 TIFF
outputFile
(String):
The path and name for the output TIFF file.
Return Values:
1
: Conversion was successful.0
: Conversion failed.-1
: The source PDF file does not exist.-2
: The source PDF file could not be opened.-3
: The destination directory does not exist.-4
: The page ranges contain an error.
5. GetPageCount
Description:
Gets the total number of pages in a PDF file.
Parameters:
pdfFile
(String):
The path to the PDF file.password
(String):
The password to open the PDF file, if protected. Use an empty string""
if there is no password.
Return Values:
>0
: The number of pages in the PDF file.-1
: The PDF file does not exist.-2
: The PDF file could not be analyzed.
6. GetImagePageCount
Description:
Gets the number of pages in a multi-page image file. This is particularly relevant for TIFF files, which may contain multiple pages.
Parameters:
imageFile
(String):
The path to the image file.
Return Values:
>0
: The number of pages in the image file.-1
: The image file does not exist.0
: The image file is invalid.
7. SetLicenseKey
Description:
Sets the valid license key required to unlock the full functionality of the ActiveX DLL.
Parameters:
LicenseKey
(String):
The license key to register the ActiveX DLL.
Return Values:
This method does not return a value but must be called before using any other functions in the ITIFF2PDFLib
interface.
System Compatibility
The VeryPDF TIFF To PDF ActiveX DLL is designed to be compatible with a wide range of Windows operating systems:
- Desktop Compatibility: It supports all major versions of Windows desktop OS, from Windows XP to Windows 11, both in 32-bit and 64-bit versions.
- Server Compatibility: The DLL is also fully compatible with Windows Server editions, from Windows Server 2003 through 2016. This makes it suitable for both client-side and server-side applications, whether deployed in small business environments or large-scale enterprise systems.
Conclusion
The VeryPDF TIFF To PDF ActiveX DLL is a powerful and flexible component that addresses the diverse needs of developers working with PDF and image files. With its comprehensive feature set, multi-language support, and royalty-free licensing, it is an excellent choice for developers looking to add robust document conversion capabilities to their applications.
Whether you're working on a desktop application, a web-based solution, or a server-side service, this DLL offers the tools you need to handle PDF and image conversion with ease and efficiency. Download the VeryPDF TIFF To PDF ActiveX DLL today and start enhancing your applications with advanced document processing capabilities.
The VeryPDF TIFF To PDF ActiveX DLL provides a comprehensive set of tools for developers to manage PDF and image file conversions. Its functions are designed to be straightforward yet powerful, offering flexibility in handling different formats, resolutions, and output requirements. With detailed error codes and a wide range of supported input and output options, it ensures smooth integration and reliable performance in your applications.