Hi, WorkerPDF uses ghostscript (https://ghostscript.com ) for working with PDF.
You can achieve the same result using the ghostscript:
(OS Windows) gswin64c -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOwnerPassword=PASS -sUserPassword=PASS -sOutputFile=output.pdf original.pdf
(OS Linux) gs -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOwnerPassword=PASS -sUserPassword=PASS -sOutputFile=output.pdf original.pdf

 

Last edit: Korchazhkin Sergey 2025-06-27