Tiff v jpg?

13 views
Skip to first unread message

Charles M

unread,
Jun 29, 2026, 7:43:44 PM (9 days ago) Jun 29
to PreTeXt support
This is a very low-priority issue.

I used the code below, with a TIFF file, and compilation to PDF stopped as soon as the compiler reached the TIFF image, and it returned an error with buffer size.  

The TIFF file size is 89 MB, while the JPG is 9 MB. 

<figure xml:id="fig-chap02-1-1">
<caption>
  Incan quipu (<url href="https://www.clevelandart.org/art/1940.469">The Cleveland Museum of Art</url>, Gift of John Wise)
</caption>
<image source="Quipu.jpg" width="50%">
<shortdescription>Incan quipu</shortdescription>
</image>
</figure>

I used Mac's native conversion tool to convert the TIFF to JPG, and the compilation ran smoothly with flawless output.

Regards,
Charles

PS In the last week or so, I've noticed that the table of contents in the PDF output is still hyperlinked, but it's black instead of blue.  I like it!

Charles M

unread,
Jun 30, 2026, 12:44:12 AM (9 days ago) Jun 30
to PreTeXt support
I should have written, "I used the code below mutatis mutandis...."  Clearly, I used the file type .tiff in the code when I should have done.

Charles

Mitch Keller

unread,
Jun 30, 2026, 9:34:22 AM (9 days ago) Jun 30
to pretext...@googlegroups.com
pdflatex supports JPEG, PNG, and PDF for image inclusion. (Plus EPS via the epstopdf package.)

-- 
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-support/b7c46715-0ef8-4f26-aaf4-2ed9a18b4cb1n%40googlegroups.com.


Reply all
Reply to author
Forward
0 new messages