PDF Compressor

VeryDOC JBIG2 Compression SDK is a JBIG2 Compression Decoder and Encoder SDK for .NET, C++, Java, PHP, etc. Developers Royalty Free

In today's digital age, efficient image compression is crucial for optimizing storage space and ensuring fast data transmission. For developers looking to integrate advanced image compression capabilities into their applications, the VeryDOC JBIG2 Compression SDK offers a robust solution. This SDK allows users to compress black-and-white image data into the highly efficient JBIG2 format and decode JBIG2 compressed data back to Windows DIB format.

JBIG2 Encoding and Decoding SDK Library,
https://veryutils.com/jbig2-encoding-and-decoding-sdk-library

VeryDOC PDF Compressor Command Line,
https://www.verydoc.com/pdfcompressor.html

VeryDOC JBIG2 Compression SDK is a JBIG2 Compression Decoder and Encoder SDK for .NET, C++, Java, PHP, etc. Developers Royalty Free

What is JBIG2?

JBIG2 is an image compression standard specifically designed for bi-level (1 bpp) images, commonly used in scanned documents, fax transmissions, and PDF files. Developed by the Joint Bi-level Image Experts Group, JBIG2 provides superior compression rates compared to other standards like CCITT Fax Group 4. It is capable of compressing black-and-white images 2-5 times more effectively than Group 4, making it an ideal choice for applications that require high-quality image compression, such as PDF creation and editing.

Key Features of the VeryDOC JBIG2 Compression SDK

The VeryDOC JBIG2 Compression SDK is a versatile tool that offers numerous features to meet the needs of developers:

  • Efficient Image Compression: The SDK allows developers to compress black-and-white images into JBIG2 format, significantly reducing file size. For instance, a 122 MB uncompressed document can be reduced to just 1.15 MB using JBIG2 lossless compression, or even down to 0.55 MB with lossy compression.
  • Versatile Format Support: The SDK supports compression from various image formats, including TIFF, PNG, and BMP, into the JBIG2 format. It also enables the encoding of JBIG2 data streams into single or multipage files and PDF image resources.
  • Advanced Encoding Techniques: The SDK uses sophisticated methods such as symbol extraction, classification, text region coding, and refinement coding to achieve high compression rates. It also supports generic region encoding automatically.
  • Fast Processing: Developed in C/C++, the SDK is optimized for speed, ensuring that encoding and decoding processes are fast and efficient.
  • Compliance with Standards: The JBIG2 codec algorithm in this SDK is fully compliant with the official ISO/IEC 14492 specification, ensuring compatibility and reliability.
  • Flexible Integration: The SDK provides an easy-to-use API that allows seamless integration into existing applications, enabling developers to add JBIG2 image rendering capabilities with minimal effort.

SDK Components and Functions

The VeryDOC JBIG2 Compression SDK includes several key components and functions to facilitate its integration:

  • jbig2en.h: The header file for the JBIG2 Encode and Decode Library.
  • jbig2en.dll: The dynamic link library (DLL) that contains the encoding and decoding functions.
  • jbig2en.lib: The library file for linking the SDK with your application.

JBIG2 Decoding and Encoding SDK Redistributable files,
----------------------------------------
jbig2en.dll
----------------------------------------

JBIG2SDK functions:
----------------------------------------
typedef struct JBIG2DATAtag {
    int width;
    int height;
    int length;
    char *data;
} JBIG2DATA, *LPJBIG2DATA;
DllExport LPJBIG2DATA WINAPI JBIG2SDK_ConvertBWTIFF2JBIG2Data(const char *lpInputTIFF);
DllExport LPJBIG2DATA WINAPI JBIG2SDK_ConvertDIB2JBIG2Data(HDIB hDIB);
DllExport HDIB WINAPI JBIG2SDK_ConvertJBIG2Data2DIB(LPJBIG2DATA lpJBIG2Data);
DllExport VOID WINAPI JBIG2SDK_FreeJBIG2Data(LPJBIG2DATA lpJBIG2Data);
DllExport VOID WINAPI JBIG2SDK_FreeHDIBData(HDIB hDIB);
DllExport VOID WINAPI JBIG2SDK_SetLicenseKey(const char *lpCode);
----------------------------------------

The SDK provides a range of functions, such as converting black-and-white TIFF images to JBIG2 data, converting DIB data to JBIG2, and decoding JBIG2 data back to DIB format. Additionally, it includes functions for managing memory and setting license keys.

Real-World Applications

The JBIG2 Compression SDK is widely used in applications where efficient image compression is essential. For example, many PDF editors and compressors use JBIG2 technology to reduce the size of PDF files without compromising image quality. Scanners that generate PDF documents also rely on JBIG2 compression to produce smaller, more manageable files.

Conclusion

The VeryDOC JBIG2 Compression SDK is a powerful tool for developers who need to compress and decompress black-and-white images efficiently. With its advanced features, fast processing speed, and compliance with industry standards, this SDK is an excellent choice for integrating JBIG2 compression into your applications. Whether you are developing PDF software, document management systems, or any application that handles large volumes of scanned images, the VeryDOC JBIG2 Compression SDK provides the capabilities you need to optimize performance and save resources.

For more information or assistance with integrating the SDK into your projects, please feel free to contact us. We are here to help you maximize the potential of JBIG2 compression technology.

PDF Compressor

VeryDOC PDF Compressor Command Line can compress and reduce the file size of PDF files using JPEG, JPEG2000 and JBIG2 compression algorithms

In today's digital world, managing large PDF files can be a challenge. Whether for storage, sharing, or transmission, oversized documents can slow down processes and consume valuable resources. Enter VeryDOC PDF Compressor Command Line -- a robust solution designed to compress Adobe Acrobat PDF files efficiently, reducing their size by an impressive 40-95% without compromising quality. This powerful tool leverages advanced compression technologies to optimize PDF structures, making it an ideal choice for anyone looking to streamline their document management.

https://www.verydoc.com/pdfcompressor.html

VeryDOC PDF Compressor Command Line can compress and reduce the file size of PDF files using JPEG, JPEG2000 and JBIG2 compression algorithms

Advanced Compression Technology for Optimized PDFs

VeryDOC PDF Compressor Command Line uses the latest in image compression technology, including the JBIG2 and JPEG2000 formats, to produce compact, web-friendly PDF files. The software significantly reduces the size of black and white images by 5-10 times compared to TIFF G4 formats and color images by 10-100 times compared to JPEG formats. Despite these reductions, the compressed PDFs retain their original quality and format, ensuring that they can still be viewed using standard software like Adobe Reader.

Key Features of VeryDOC PDF Compressor Command Line

  1. Extreme Document Compression:

    VeryDOC PDF Compressor Command Line excels in compressing color scanned PDFs to sizes comparable to black and white TIFF Group 4 images using JPEG2000 technology. This can result in a file size reduction of up to 100 times the original size, all while maintaining superior image quality and text legibility. Additionally, the JBIG2 compression format halves the size of black and white documents, providing faster access and reduced storage costs.

  2. Long-Term Archival:

    The software supports ISO-compliant PDF/A output, ensuring that documents remain accessible and maintain their appearance for long-term archival purposes. This makes it an excellent tool for organizations that need to preserve the integrity of their digital documents over time.

  3. Versatile Compression Options:

    Whether you need to compress a single PDF file or an entire folder of documents, VeryDOC PDF Compressor Command Line offers a scalable solution. With support for batch processing and command-line operation, users can efficiently compress multiple files or directories in one go. The software is compatible with all versions of Acrobat PDF files, including scanned documents and "born-digital" PDFs such as those converted from Microsoft Office.

  4. Customizable Compression Presets:

    VeryDOC PDF Compressor Command Line provides five preset options to suit different needs:

    • Screen: Optimizes PDFs for screen-viewing with 72 dpi images.
    • eBook: Balances quality and size with 150 dpi images, ideal for eBooks.
    • Printer: Ensures high-quality printouts with 300 dpi images.
    • Prepress: Preserves color fidelity for high-quality prints at 300 dpi.
    • Default: A general-purpose setting similar to the "Screen" preset.
  5. Security and Encryption:

    The software offers 128-bit encryption to protect your PDF files. Users can also create password-protected PDFs directly from the command line, ensuring that sensitive information remains secure.

  6. Developer-Friendly Features:

    For developers, VeryDOC PDF Compressor Command Line offers a Developer Version (SDK), supporting multiple programming languages including C#, C++, Delphi, and VB.net. This allows for easy integration into custom applications, making it a flexible tool for various development environments.

  7. Cost-Effective and License-Free:

    The software is available for a one-time fee, with no recurring costs or pay-per-page usage, making it a cost-effective solution for businesses and individuals alike. Additionally, the runtime royalty-free licensing options allow developers to include this technology in their applications without additional costs.

Why Choose VeryDOC PDF Compressor Command Line?

  • Efficiency: Compress large PDFs quickly and easily, reducing storage and transmission requirements by up to 100 times.
  • Quality Preservation: Maintain the visual integrity of your documents even after compression.
  • Versatility: Support for all types of PDF files and compatibility with various Windows platforms ensures that the software meets diverse needs.
  • Security: Protect sensitive information with robust encryption features.
  • Scalability: Handle batch compression and large-scale document management with ease.

Whether you're an individual looking to compress a few files or a developer seeking to integrate PDF compression into your applications, VeryDOC PDF Compressor Command Line offers a powerful, flexible, and reliable solution. Simplify your document management and enhance your workflow with this cutting-edge tool.

PDF Viewer OCX Control

VeryDOC PDF Viewer OCX Control is a Powerful PDF Viewer Component for Windows Applications

In today's software development landscape, integrating efficient and user-friendly components is crucial to building robust applications. One such essential component for developers working with PDF files is the VeryDOC PDF Viewer OCX Control (ActiveX). This versatile PDF file viewer component is designed to be embedded into Windows applications, offering a seamless and reliable solution for viewing PDF documents.

https://www.verydoc.com/pdf-viewer-ocx.html

VeryDOC PDF Viewer OCX Control is a Powerful PDF Viewer Component for Windows Applications

What is VeryDOC PDF Viewer OCX Control?

VeryDOC PDF Viewer OCX Control is a standalone, embeddable PDF viewer specifically tailored for Windows application developers. This ActiveX control enables developers to incorporate PDF viewing capabilities into their software without relying on external applications like Adobe Reader. Whether you're using Visual Basic, Visual C++, Delphi, C#, or even HTML through Internet Explorer, this control integrates smoothly with any programming language or tool that supports ActiveX controls.

Key Features of VeryDOC PDF Viewer OCX Control

1. Rapid PDF Viewing:
The control allows for quick loading and display of PDF documents, ensuring users can view content without delays, regardless of the PDF creation software used.

2. Adobe Reader Independence:
By embedding the VeryDOC PDF Viewer OCX Control, developers can offer PDF viewing functionality without the need for Adobe Reader, reducing dependency on third-party software.

3. Full Developer Control:
Developers gain full control over the PDF viewer's interface and functionality, enabling the creation of customized viewing experiences that fit specific application needs.

4. Advanced PDF Navigation:
The control supports advanced navigation features like text search, jumping to outline destinations, and displaying document outlines, making it easier for users to find and access content within large PDF files.

5. Flexible Viewing Options:
Users can scroll, zoom, and switch between different layout modes (such as Single Page, Facing, Continuous, and Continuous Facing) to suit their reading preferences.

6. Text Interaction:
The ability to select and copy text from PDF documents directly to the clipboard enhances the user experience, making it simple to extract information from PDFs.

7. Hyperlink Support and Region Highlighting:
The control recognizes PDF hyperlinks and allows region highlighting during text searches, providing interactive and intuitive document navigation.

8. Compatibility and Support:
VeryDOC PDF Viewer OCX Control is compatible with all versions of Acrobat PDF files and supports a wide range of Windows platforms, including 2000, XP, Vista, and later systems, in both 32-bit and 64-bit versions.

Why Choose VeryDOC PDF Viewer OCX Control?

For developers seeking to embed a reliable PDF viewer into their applications without the overhead of external dependencies, VeryDOC PDF Viewer OCX Control stands out as a top choice. Its ease of integration, comprehensive feature set, and robust performance make it ideal for creating applications that require efficient PDF viewing capabilities.

By choosing VeryDOC PDF Viewer OCX Control, you ensure that your application can handle PDF documents smoothly and efficiently, providing your users with a seamless viewing experience directly within your software.

Explore the possibilities with VeryDOC PDF Viewer OCX Control and empower your application with the ability to handle PDF files like never before.

DOC to Any Converter

How to Register doc2anyCom.exe COM and Add a Reference to VeryPDF.doc2anyCom in a C# Program

How to Register doc2anyCom.exe COM and Add a Reference to VeryPDF.doc2anyCom in a C# Program?

If you are using the "VeryDOC DOC to Any Converter SDK/COM Developer License" and need to integrate it into your C# application, follow the steps below to register doc2anyCom.exe and add the necessary reference to your project.

https://www.verydoc.com/doc-to-any.html

How to Register doc2anyCom.exe COM and Add a Reference to VeryPDF.doc2anyCom in a C# Program

Step 1: Register doc2anyCom.exe COM Component

  1. Download the Trial Package: Ensure you have downloaded the trial DOC to Any Converter SDK/COM package.
  2. Open Command Prompt as Administrator:
    • Press Win + X and select "Command Prompt (Admin)" or "Windows PowerShell (Admin)".
  3. Register the COM Component:
    • Navigate to the directory where doc2anyCom.exe is located.
    • Run the following command:
      doc2anyCom.exe /regserver
    • This command registers the COM component, making it available for use in your 64-bit applications.

Step 2: Add a Reference to VeryPDF.doc2anyCom in Your C# Project

  1. Create or Open a C# Project:
    • Open Visual Studio and create a new C# Windows Forms Application or open an existing project.
  2. Add COM Reference:
    • In Solution Explorer, right-click on References and select Add Reference....
    • In the Reference Manager, go to COM tab and search for VeryPDF.doc2anyCom.
    • Select it and click OK.

Step 3: Use the VeryPDF.doc2anyCom in Your C# Code

Below is a sample C# code demonstrating how to use the VeryPDF.doc2anyCom to convert a DOC file to PDF:

using System;
using System.Windows.Forms;
using System.IO;
using VeryPDF;

namespace WindowsFormsApplication1
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string strInFile = "D:\\downloads\\verypdf.doc";
            string strOutFile = "D:\\downloads\\out.pdf";

            string strCmd = "-$ XXXX-XXXX-XXXX-XXXX -ownerpwd 123 -keylen 2 -encryption 3900";
            strCmd += " \\"" + strInFile + "\\" \\"" + strOutFile + "\\"";
            MessageBox.Show(strCmd);

            System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.doc2anyCom");
            VeryPDF.doc2anyCom VeryPDFCom = (VeryPDF.doc2anyCom)System.Activator.CreateInstance(VeryPDFType);
            string strReturn = VeryPDFCom.doc2any(strCmd);
            MessageBox.Show("Processing finished.");
        }
    }
}

Explanation of the Code

  1. Setting Input and Output File Paths:
    string strInFile = "D:\\downloads\\verypdf.doc";
    string strOutFile = "D:\\downloads\\out.pdf";
  2. Preparing the Command:

    Construct the command string with necessary options.

    string strCmd = "-$ XXXX-XXXX-XXXX-XXXX -ownerpwd 123 -keylen 2 -encryption 3900";
    strCmd += " \\"" + strInFile + "\\" \\"" + strOutFile + "\\"";
  3. Creating and Using the COM Object:

    Obtain the type from the programmatic identifier (ProgID) and create an instance. Call the doc2any method to perform the conversion.

    System.Type VeryPDFType = System.Type.GetTypeFromProgID("VeryPDF.doc2anyCom");
    VeryPDF.doc2anyCom VeryPDFCom = (VeryPDF.doc2anyCom)System.Activator.CreateInstance(VeryPDFType);
    string strReturn = VeryPDFCom.doc2any(strCmd);
  4. Displaying the Command and Result:

    Display the command string and conversion result for user confirmation.

    MessageBox.Show(strCmd);
    MessageBox.Show("Processing finished.");

Additional Resources

For more detailed information, please refer to the following links:

By following these steps, you should be able to register the doc2anyCom.exe COM component and integrate it into your C# application for converting office files to PDF files.

DOC to Any Converter

General Questions for VeryDOC DOC to Any Converter Command Line Software

Customer Inquiry

Customer:

Hi,

I am looking for an RTF to PDF tool to embed in my web applications. Which of your offerings provide this? We would also like to test your software to see if it meets our requirements.

Regards,
Customer


General Questions for VeryDOC DOC to Any Converter Command Line Software
Customer Questions and Answers

Customer:

Hi Support,

Refer to my manager Tang's request earlier; we have some questions to clarify by referring to the suggested version below.

https://www.verydoc.com/doc-to-any.html

You can buy the "DOC to Any Converter Command Line Developer License USD$1495" from the above web page.

  1. Notice that from the website sample code, all samples require calling the command doc2any.exe for PDF conversion. Is there any API DLL for us to integrate with? The client's server may block calling the .exe from antivirus software.
  2. For the command that converts without using Office -nooffice, we found that the output alignment was incorrect compared to the conversion with Office. Is there any way to adjust the alignment when using the -nooffice command?
  3. We tested both commands. With the -useoffice command, the conversion to PDF retains the exact layout. We noticed that with every conversion, Word opens and closes, causing an increase in memory usage during the process. Will this impact the server's performance if multiple users execute the command concurrently?
  4. Is it required to install Word on the target server if using the -useoffice command?
  5. Are there any other methods to convert .rtf to .pdf through a web application that ensure proper alignment without using Office?
  6. A concern with using Office is that a Word dialog prompt might appear when opening the RTF file, which can cause high CPU usage and make the server unresponsive.

Hope to hear from you soon. Thanks.

Regards,


VeryDOC Support:

Dear Customer,

Thank you for your message. Please find our answers to your questions below:

  1. API DLL Integration
  2. Output Alignment with -nooffice Command
    • The -nooffice option uses our own technologies to parse and render Office formats. The result will not be the same as the conversion with Office. For the best conversion results, we recommend using MS Office instead of OpenOffice and the -nooffice options.
  3. Server Performance with -useoffice Command
    • Did you use the -showofficeui option to show the Office UI during conversion? If so, try removing this option.
    • Example command line without showing Office UI:
      doc2any.exe -useoffice 1 "C:\in.doc" "C:\out.pdf"
      doc2any.exe -useoffice 1 -useprinter "C:\in.doc" "C:\out.pdf" 
  4. Installation of Word on Target Server
    • Yes, if you want to use the -useoffice option, you will need to install MS Office on your server, including Microsoft Word, Excel, PowerPoint, etc.
    • Similarly, if you want to use the -useopenoffice option, you will need to install OpenOffice on your server.
  5. RTF to PDF Conversion Without Office
    • To convert RTF files to PDF without relying on MS Office or OpenOffice, you can use the -nooffice option. This will use our technology to parse the RTF format and convert it to PDF without needing MS Office or OpenOffice installed. However, the result may not be identical to the conversion done by MS Office.
    • Alternatively, you can use OpenOffice instead of the -nooffice option; this might be another option for you.
  6. Word Dialog Prompt Concern
    • Please let us know which Word dialog prompt you encountered. Once we have detailed information from you, we will work on hiding that Word dialog prompt in the doc2any.exe application.

Best Regards,
VeryDOC Support