LEADTOOLS Support
Document
Document SDK Questions
FAQ: Smallest size of black and white PDF files
#1
Posted
:
Saturday, May 9, 2015 3:23:37 AM(UTC)
Groups: Manager, Tech Support
Posts: 367
Was thanked: 1 time(s) in 1 post(s)
With certain types of images, such as scanned text-based documents, there are 2 ways to produce small size files using LEADTOOLS:
1. If the image contents are mainly text with very good quality and high resolution, perform OCR to convert the image contents to text and save the result as document (searchable text) PDF. In most cases, searchable text takes smaller disk size than images.
2. If the image is not suitable for OCR, you can use the LEADTOOLS PDFFile class to produce small size images in output PDF, such as using JBIG2 compression. This is implemented in the PDFFile demo shipped with the toolkit:
[LEADTOOLS 19]\Shortcuts\PDF\.NET Class Libraries\PDF File
The PDFFile class uses the Optimize() method with the PDFOptimizerOptions Class to set new options for the PDF file and save the result. More details are in these help topics:
PDFOptimizerOptions:
https://www.leadtools.co...pdfoptimizeroptions.html
PDFFile.Optimize():
https://www.leadtools.co...df.pdffile~optimize.htmlAmin Dodin
Senior Support Engineer
LEAD Technologies, Inc.
LEADTOOLS Support
Document
Document SDK Questions
FAQ: Smallest size of black and white PDF files
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.