I am trying to resize PDF using GhostScipt. But getting error
Below is the code for the function which calls the pdfresize function. pdffile is the file path to the