I have a PDF which is searchable and I need to convert it into a non-searchable one.
I tried using Ghostscript and change it to JPEG and then back to PDF which does the trick but the file size is way too large and not acceptable.
I tried using Ghostscript to convert the PDF to PS first and then PDF which does the trick as well but the quality is not good enough.
gswin32.exe -q -dNOPAUSE -dBATCH -dSAFER -sDEVICE=pswrite -r1000 -sOutputFile=out.ps in.pdf
gswin32.exe -q -dNOPAUSE -dBATCH -dSAFER -dDEVICEWIDTHPOINTS=596 -dDEVICEHEIGHTPOINTS=834 -dPDFSETTINGS=/ebook -sDEVICE=pdfwrite -sOutputFile=out.pdf out.ps
Is there a way to give a good quality to the PDF?
Alternatively is there an easier way to convert a searchable PDF to a non-searchable one?