Make a repeatable simulated scan from one PDF page
Admin ·
Create an image-only example for an OCR test or a print-style mockup. Start with a clean render so you can see what each scan setting adds.
Make a clean grayscale baseline
Select Load example. Keep Pages at 2, Scan color at Grayscale and skew, grain and softness at zero. Make scanned PDF. The rotated chart is an image at 520 × 360 px when Resolution is 72 DPI.
Change Resolution to 144 DPI to capture the same visible page with a 1040 × 720 px raster. The PDF’s page size stays the same.
Download the PDF color reference sheetsMozilla PDF.js page rendering and viewport examples
Add a repeatable tilt and grain
Use 72 DPI, Maximum skew 2, Grain 8 and Softness 1 with Scan seed 17. Make the PDF again. Compare the tilted and softened chart with the clean first version.
Skew fits the rotated image within the original page boundary. Grain varies the pixel values and softness blurs edges. Use the same seed and settings to repeat the simulated texture and tilt.
Download the PDF color reference sheetsMozilla PDF.js page rendering and viewport examples
Reopen the scan and check searchable pages
Download pdf-appearance-sample-scanned.pdf. Search for Cover stays selectable and Notes stay selectable on the other pages. On page 2 the chart text is part of the bitmap.
Use a separate OCR tool when the simulated scanned page needs searchable text. Keep the clean render if you want to compare OCR results against a less noisy baseline.
Download the PDF color reference sheetsAdobe Acrobat guidance for recognizing text in scanned documents
Common questions
What does Black and white do to the scan?
It assigns each rendered pixel to black or white, which can remove subtle gray details.
Does increasing DPI change the paper size?
DPI changes the number of pixels used to represent the same physical page. Higher settings can increase the file size.