Forrest logo
back to the ocrmypdf tool

ocrmypdf:ai:4bf16

how do I use --image-dpi with ocrmypdf
$ ocrmypdf --image-dpi 300 input.pdf output.pdf
try on your machine

The --image-dpi option is used with ocrmypdf command-line tool to specify the resolution (dots per inch) at which the images in the input PDF will be processed and OCR'd. In this example, it sets the resolution to 300 DPI.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • how do I use --image-dpi with ocrmypdf?
back to the ocrmypdf tool