GODLIU
V2EX  ›  PHP

ghostscript 9.26 疑似有 BUG

  •  
  •   GODLIU · Dec 21, 2018 · 3280 views
    This topic created in 2746 days ago, the information mentioned may be changed or developed.

    通过 php imagick 把 pdf 转为 png 的时候报错 Uncaught exception 'ImagickException' with message 'FailedToExecuteCommand `'gs' -sstdout=%stderr -dQUIET -dSAFER -dBATCH -dNOPAUSE -dNOPROMPT -dMaxBitmap=500000000 -dAlignToPixels=0 -dGridFitTT=2 '-sDEVICE=pngalpha' -dTextAlphaBits=4 -dGraphicsAlphaBits=4 '-r72x72' -dFirstPage=24 -dLastPage=24 '-sOutputFile=/tmp/magick-28376bH7pwn9greDJ%d' '-f/tmp/magick-28376MTx9zppDrdR4' '-f/tmp/magick-28376A5XYOxtj965p'' (-1) @ error/delegate.c/ExternalDelegateCommand/462'

    把 ghostscript 降级到 9.20 就好了

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3397 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 00:39 · PVG 08:39 · LAX 17:39 · JFK 20:39
    ♥ Do have faith in what you're doing.