Imagick未能执行命令GS

问题描述 投票:-1回答:2

我可以将某些PDF文件成功转换为PNG格式,但有些抛出这个错误:

ImagickException:FailedToExecuteCommand` 'GS' -sstdout =%stderr的-dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap = 5亿-dAlignToPixels = 0 -dGridFitTT = 2 '-sDEVICE = pngalpha' -dTextAlphaBits = 4 -dGraphicsAlphaBits = 4“ - r144x144' -dFirstPage = 1 -dLastPage = 1'-sOutputFile = / TMP / magick-966AGfRi74eBSiG%d '-f / TMP / magick-966t0bB45paDzcW' '-f / TMP / magick-966l4St1G1Jfh6b'”(-1)@错误/delegate.c/ExternalDelegateCommand/462

我有一个很难继续前进,因为我不明白什么错误味精。

可以采取什么问题吗?

ghostscript imagick
2个回答
1
投票

重复这个问题:

ghostscript 9.26 update breaks imagick readImage for multipage PDF

但作为回答既没有被接受或upvoted我不能标记其视为重复。


0
投票

使用ghostscript的版本9.26我得到在Ubuntu同样的错误。另外后安装的ghostscript-X与apt-get update && apt-get install -y ghostscript-x的问题得到解决。

© www.soinside.com 2019 - 2024. All rights reserved.