早睡早起,方能养生
Sleep early rise early, way to keep healthy

PHP PDF转PNG图片报错 FailedToExecuteCommand `'gs' ... error/ghostscript-private.h/ExecuteGhostscriptCommand/74

super
2023-01-09 21:49
views 105

PDF转PNG时报错

 

FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dPrinted=false '-sOutputFile=/tmp/magick-ycaVLWAMCOBzFmONS_8pubFrVi3t5RA0%d' '-f/tmp/magick-DR9w38dmvQlAAnbWdlK17JLh-k2OWGvo' '-f/tmp/magick-838A8DoG3jGWOEG7SBeQzW62GnduMBqM'' (32512) @ error/ghostscript-private.h/ExecuteGhostscriptCommand/74

 

 

解决办法:安装ghostscript

 

CentOS安装 ghostscript



分享
0 条讨论
top