ImagickException Caught

PDFDelegateFailed `[ghostscript library 9.25] -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dPrinted=false -dFirstPage=1 -dLastPage=1 '-sOutputFile=/tmp/magick-i5zyHFt8eJxgs08bfeiaDcLBevPYTB1q%d' '-f/tmp/magick-1ItIqeNfv-H6CPBYLxFtfjqMp1laJ10Q' '-f/tmp/magick-TlfpvqttWd8VW-V9PpcZCYPocb5rzC0g': **** Error: Cannot find a 'startxref' anywhere in the file. Output may be incorrect. **** Error: An error occurred while reading an XREF table. **** The file has been damaged. This may have been caused **** by a problem while converting or transfering the file. **** Ghostscript will attempt to recover the data. **** However, the output may be incorrect. **** Error: Trailer dictionary not found. Output may be incorrect. Requested FirstPage is greater than the number of pages in the file: 0 No pages will be processed (FirstPage > LastPage). ' @ error/pdf.c/ReadPDFImage/694

pi.utils.php:86