When converting colorful or grey image to searchable PDF document, you can use JPEG2000 arithmetic to reduce the file size of created PDF document when taking VeryPDF Image to PDF OCR Converter Command Line as your tool.
In order to use the application, please download the free trial version of VeryPDF Image to PDF OCR Converter Command Line at first and then extract the ZIP file to your computer. For knowing the detailed usage steps, please see the user guide.
What is JPEG2000 arithmetic?
JPEG2000 is an image coding system that uses state-of-the-art compression techniques based on wavelet technology. Compared to JPEG, JPEG2000 offers higher compression without compromising quality, progressive image reconstruction, lossy and lossless compression.
Compress image with JPEG2000 when converting image to searchable PDF
The usage of the application is like the below one:
img2pdf [options] <Image-file> [<PDF-file>]
Please see the following command line example which uses JPEG2000 to compress image in the conversion from image to searchable PDF document.
img2pdf –ocr 1 –colorimg 2 C:\input.jpg C:\output.pdf
In the example, the option –ocr 1 is to create searchable PDF document with OCR technology and the option –colorimg 2 is to compress image with JPEG2000 method. Please see the snapshot in Figure 1 which shows the created PDF document without any compression method and the one in Figure 2 is its properties.
Then the snapshot in Figure 3 shows the properties of created searchable PDF compressed by JPEG2000 method. You will see the file size has been changed from 586.78KB to 54.29KB.
So the file size has been reduced highly. If you need to compress your image when converting image to PDF for different uses, just choose VeryPDF Image to PDF OCR Converter Command Line.