a actualización de @ghostscript 9.26 rompe imagick readImage para PDF de varias páginas
Desde la actualización de ghostscript 9.25 -> 9.26 (en Debian) la mañana pasada, recibimos este error:
ErrorMessage: FailedToExecuteCommand
`'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT
-dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2
'-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r300x300'
-dFirstPage=1 -dLastPage=1 '-sOutputFile=/tmp/magick-39903EapVvuyNQxL4%d'
'-f/tmp/magick-39903VD0GMIpLPaIN'
'-f/tmp/magick-399031owlSOb4aOEw'' (-1)
@ error/delegate.c/ExternalDelegateCommand/462
Cuando intente leer la primera página de un PDF de varias páginas:
$this->resource = new \Imagick();
$this->resource->setResolution(300, 300);
$this->resource->readImage($path . '[0]');
Alguna idea de cómo se puede resolver este problem
Ver:https: //www.ghostscript.com/doc/9.26/History9.htm#Version9.2 Ver:https: //secure.php.net/manual/en/imagick.readimage.ph