How can I insert a tif file into a Latex document?

  • Context: LaTeX 
  • Thread starter Thread starter julian
  • Start date Start date
  • Tags Tags
    Figure Latex
Click For Summary
SUMMARY

To successfully insert a TIFF file into a LaTeX document, users must convert the TIFF file to EPS format due to LaTeX's inability to determine the size of the graphic in TIFF files, which results in the error "Cannot determine size of graphic in image.tif (no Bounding Box)." The solution involves using the \usepackage{graphicx} command along with the \includegraphics command, specifying the converted EPS file. This method ensures proper rendering of images in LaTeX documents.

PREREQUISITES
  • Familiarity with LaTeX document preparation system
  • Understanding of the \usepackage and \includegraphics commands
  • Basic knowledge of image file formats, specifically TIFF and EPS
  • Experience with image conversion tools or software
NEXT STEPS
  • Learn how to convert TIFF files to EPS format using tools like ImageMagick
  • Explore advanced options in the \includegraphics command for better image handling
  • Research LaTeX packages that support additional image formats
  • Study the LaTeX error handling process for troubleshooting graphic inclusion issues
USEFUL FOR

This discussion is beneficial for LaTeX users, graphic designers, and researchers who need to include images in their documents, particularly those encountering issues with unsupported image formats.

julian
Science Advisor
Gold Member
Messages
861
Reaction score
366
I am trying to insert the tif file:

https://dl.dropboxusercontent.com/u/81787406/image.tif

into a Latex file with:

\usepackage{graphicx}\begin{figure}[ht!]
\centering
\includegraphics[width=50mm]{image.tif}
\end{figure}

but when I latex it I get the error: "Cannot determine size of graphic in image.tif (no Bounding Box)."

Can someone help with this as I now next to nothing about sort of thing. thanks
 
Last edited by a moderator:
Physics news on Phys.org
Reading that link I see I need to convert to .eps format. It works now - thanks.
 
  • Like
Likes   Reactions: Greg Bernhardt

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
3
Views
5K
  • · Replies 2 ·
Replies
2
Views
4K
  • · Replies 8 ·
Replies
8
Views
13K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
7K
  • · Replies 1 ·
Replies
1
Views
4K