How to Control Image Compression When Creating OCR PDFs
Question details
The user wants to prevent image degradation and control compression settings when converting scanned documents into OCR PDFs.

- Product
- PDF Editor
- Device & OS
- not provided
- Scenario
- Converting scanned magazine pages or image-heavy documents to PDF with OCR.
- Observed behavior
- JPEG images suffer from repeated lossy compression during OCR processing, resulting in overly compressed images even if the recognized text remains clear.
Before starting the OCR process, ensure you have access to the original high-resolution scanned files, preferably in lossless formats like TIFF or PNG.
Use Lossless Formats and Optimize OCR Settings
Switching to lossless image formats and prioritizing quality over file size prevents compound image degradation during OCR.
JPEG uses lossy compression, meaning the image quality degrades slightly every time it is compressed. When scanning documents directly to JPEG and then converting them to PDF with OCR, the compression effect compounds. To fix this, change your scanning format and adjust your PDF editor's quality settings.
Scan your original documents using lossless formats such as TIFF or PNG-24 instead of JPEG to prevent initial compression artifacts.
Open your PDF editor and navigate to the OCR or 'Create PDF from Scanner' settings menu.
Locate the compression options and select the 'Better Quality' setting rather than 'Smaller Size'.
Run the OCR process on a single sample page to verify the balance between file size and acceptable image quality before processing the entire document collection.

Create High-Quality OCR PDFs with WPS Office
WPS Office provides advanced OCR and PDF conversion tools that help you extract text accurately while maintaining the quality of your original scanned images.
- 1. Open the PDF Tool: Launch WPS Office, open the 'PDF' tab, and select 'Picture to PDF' or open an existing scanned document.
- 2. Access OCR Features: Navigate to the 'Tools' menu and click on the 'OCR' button to initiate text recognition.
- 3. Adjust Export Quality: Select your preferred export options, ensuring your settings prioritize image clarity alongside text extraction.
- 4. Save the Document: Save your newly recognized, high-quality PDF document to your preferred local drive or cloud storage.

Frequently Asked Questions
Why do my images look blurry after applying OCR?
Blurry images often result from repeated lossy compression. If your original scan was a JPEG, the PDF conversion and OCR process applies additional compression, noticeably degrading the image quality.
What is the best image format for OCR scanning?
Lossless formats like TIFF or PNG-24 are highly recommended for OCR. They retain full image detail without the compression artifacts common in JPEG files, giving the OCR engine clearer text to recognize.
How can I reduce PDF file size without ruining image quality?
You can achieve a balance by scanning in a lossless format, applying OCR, and then using a dedicated PDF compressor tool. This allows you to manually adjust the DPI and compression ratio to find the optimal middle ground.
Does OCR affect the original image layer in a PDF?
It depends on the software and settings. Some OCR tools replace the image with highly compressed versions and text overlays to save space, while others place a hidden text layer over the original uncompressed image. Choosing 'Better Quality' in your settings helps preserve the original layer.




