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에서 실행 중)

관련 정보