Customize the Ghostscript binary path used by pdf-optimizer to match your environment. This option provides flexibility in specifying the exact location of the Ghostscript binary on your server.
You can specify the exact path to the Ghostscript binary file by passing it to the init method of the PdfOptimizer class.
Note: The setGsBinary method must be called after the fromDisk and open methods. This option is specifically available during the exporting phase of the optimization process.