Imagemagick 7.0.8-59 壓縮 PDF 檔案時發生錯誤訊息

Imagemagick 7.0.8-59 壓縮 PDF 檔案時發生錯誤訊息

我正在嘗試使用以下命令壓縮 PDF:mogrify -compress jpeg -quality 50 path/to/file/*

運行命令時我收到此錯誤訊息:

Error: ICCbased space /N value does not match the ICC profile.
Using the number of channels from the profile.
Output may be incorrect.
libpng warning: Image width is zero in IHDR
libpng warning: Image height is zero in IHDR
libpng error: Invalid IHDR data
Error: /VMerror in --showpage--
VM status: 3 7801272 9177632
Current allocation mode is local
Last OS error: 2
GPL Ghostscript 9.27: Unrecoverable error, exit code 1

有誰知道這個錯誤的根源是什麼?

(我已經清理並更新了 Homebrew、Imagemagick、gs)(在 Mac 電腦 10.13.6 上運行)

相關內容