OCR layer in converted PDF?
Posted: 2013-05-18T11:26:46-07:00
Hi All,
Is it possible to keep an OCR layer in a converted PDF?
More specifically, I have a hi-res PDF that contains an OCR layer. I would like to convert the PDF to a lower resolution, while keeping the OCR layer that was generated based on the hi-res version. I tried the following command:
$ convert -density 300x300 -quality 5 -compress jpeg file.pdf newFile.pdf
However, this seems to strip out the OCR layer. Is there any command line switch that will tell convert to keep the OCR? Or do I have to generate a new OCR layer after performing the conversion?
Thanks!
-Joe Paxton
Is it possible to keep an OCR layer in a converted PDF?
More specifically, I have a hi-res PDF that contains an OCR layer. I would like to convert the PDF to a lower resolution, while keeping the OCR layer that was generated based on the hi-res version. I tried the following command:
$ convert -density 300x300 -quality 5 -compress jpeg file.pdf newFile.pdf
However, this seems to strip out the OCR layer. Is there any command line switch that will tell convert to keep the OCR? Or do I have to generate a new OCR layer after performing the conversion?
Thanks!
-Joe Paxton