ghostscript function to compress pdf