2025-02-24
How to remove OCR layer from a PDF using Ghostscript #Ghostscript #корисні_хитрощі
1) Install Ghostscript via Homebrew:
brew install ghostscript
2) Run the following command to remove the OCR layer:
gs -o output.pdf -sDEVICE=pdfwrite -dFILTERTEXT input.pdf
This will create output.pdf without the recognized text layer.
3) Open the output file and verify that text cannot be selected.
Як видалити шар OCR з PDF за допомогою Ghostscript #Ghostscript #корисні_хитрощі
1) Встанови Ghostscript через Homebrew:
brew install ghostscript
2) Виконай команду для видалення OCR-шару:
gs -o output.pdf -sDEVICE=pdfwrite -dFILTERTEXT input.pdf
Це створить output.pdf без розпізнаного тексту.
3) Відкрий отриманий файл і перевір, що текст не виділяється.
← 2025, лютий, понеділок →
#нотатки