我正在尝试使用此命令压缩 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)