A Symfony CLI utility for the Ghostscript executable
composer require wespals/ghostscript-console
php vendor/bin/ghostscript-console ghostscript -g 'sDEVICE=pdfwrite' --gs='dCompatibilityLevel=1.4' ./tests/files/2019FormW2-PDFv1.7.pdf ./tests/files/temp/ghostscript-output.pdf
- -dSAFER
- -dBATCH
- -dNOPAUSE
- -sDEVICE=pdfwrite
php vendor/bin/ghostscript-console ghostscript --help