TeX는 png에서는 작동하지만 매우 큰 파일의 경우 jpg에서는 작동하지 않습니다.

TeX는 png에서는 작동하지만 매우 큰 파일의 경우 jpg에서는 작동하지 않습니다.

23150 x 16229의 큰 이미지 크기를 인쇄하려고 합니다. 600dpi에서 B1 페이지에 맞도록 디자인되었습니다.

이것이 png인 경우 다음 코드에서 잘 작동합니다.

\documentclass[landscape,draft]{article}
\pdfimageresolution=600
\usepackage[top=1cm, bottom=1cm, left=1cm, right=1cm,b1paper]{geometry}
\usepackage[pdftex]{graphicx}
\begin{document}
\vfill
\begin{center}
\includegraphics{small_orig.png}
\end{center}
\vfill
\end{document}

다음을 사용하여 파일을 jpg로 변경할 때:

convert small_orig.png small_test.jpg

그리고 pdf latex로 다시 컴파일하면 다음과 같은 결과를 얻을 수 있습니다.

I can't work with sizes bigger than about 19 feet.

어떤 아이디어가 있나요? CMYK에 있도록 jpg로 필요합니다(위의 변환 명령이 그렇게 하지 않는다는 것을 이해하지만 RGB jpg를 작동시킬 수도 없습니다).

고마워요, 제임스

답변1

덕분에https://tex.stackexchange.com/users/2388/ulrike-fischer, 문제가 해결되었습니다. 질문에 언급한 대로 변환하면 jpg의 기본 해상도는 72 x 72가 되어 이미지 너비가 약 27'가 됩니다.

변환을 다음으로 변경:

convert -units PixelsPerInch small_orig.png -density 600 small_test2.jpg

그리고 그것은 잘 작동합니다. 모두 감사합니다

관련 정보