Error Cannot Determine Size Of Graphic No Bounding Box
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top !LaTeX Error: Cannot determine size of graphic in simLinkError.pdf (no Bounding Box) up vote 11 down vote favorite 1 I'm trying to put a .pdf graphic in my LaTeX file. This is usually no problem for me. I use pdfLaTeX in TeXworks. The only difference this time seems to be that I'm using the style files from the journal Statistical Science (http://www.e-publications.org/ims/support/sts-instructions.html). I've tried several solutions. This one and converting the pdf to .eps or .ps all make the error go away, but then there is just a big blank space where the image is supposed to be. Any ideas? Edit: Here is the preamble: \documentclass[dvips,sts]{imsart} \usepackage{graphicx} \usepackage{float} \begin{document} \begin{figure}[h!] \centering \includegraphics[width = \textwidth]{simLinkError.pdf} \caption{Blah} \label{fig:sim1} \end{figure} \end{document} graphics pdf texworks share|improve this question edited Jul 17 '13 at 14:02 egreg 512k5913742430 asked Jul 17 '13 at 3:38 zkurtz 208129 4 "Cannot determine size of graphic #1 (no Bounding Box)" error occour when we compile latex on a TeX file with non-eps images such as PDF/JPG/PNG etc. To fix this error: You need to run pdflatex on the TeX file. Otherwise you need to convert your image to EPS using convert and run latex on the TeX file. –Jagath Jul 17 '13 at 3:49 @JagathAR, as I mentioned, I am using pdfLaTeX on my TeX file. Is this different than pdflatex? –zkurtz Jul 17 '13 at 13:11 @dustin, no, [demo] is not there ... –zku
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The http://tex.stackexchange.com/questions/124340/latex-error-cannot-determine-size-of-graphic-in-simlinkerror-pdf-no-bounding best answers are voted up and rise to the top Error including a .png: Cannot determine size of graphic [duplicate] up vote 5 down vote favorite 1 This question already has an answer here: Cannot determine size of graphic 3 answers I have a little problem: I am not able to put an image in my document. This is how I start: \documentclass[a4paper,12pt,titlepage]{report} \usepackage{fontenc} \usepackage[italian]{babel} \usepackage[utf8x]{inputenc} \usepackage{graphicx} \begin{document} . . . http://tex.stackexchange.com/questions/94869/error-including-a-png-cannot-determine-size-of-graphic \begin{figure}[htbp] \begin{center} \includegraphics{mol.png} \end{center} \label{fig:uno} \end{figure} . . . \end{document} and this is the error report: ERROR: LaTeX Error: Cannot determine size of graphic in mol.png (no BoundingBox). --- TeX said --- See the LaTeX manual or LaTeX Companion for explanation. Type H
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about http://stackoverflow.com/questions/731933/error-including-image-in-latex hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error including image in Latex [closed] up vote 29 down vote favorite 6 I am getting the following error while compiling my Latex File : ! LaTeX Error: Cannot error cannot determine size of graphic in tree.jpg (no BoundingBox). Why do I get this error ? What has this to do with an .eps file ? In fact, I could compile it fine with MacTex on my machine. But when I submit it online to a scientific journal for publication, it compiles it on the server and sends me the resultant PDF which has all these errors that prevent it from compiling. I am using the following syntax for error cannot determine including the images : \begin{figure}[!h] \begin{center} \scalebox{0.45}{ \includegraphics{tree.jpg}} \end{center} \caption{\small A sample} \label{tree} \end{figure} What should I do ? Could it be that their server is using an old compiler ? UPDATE : It finally worked. I converted the first image to PDF and the compilation happened perfectly. I guess it used the bounding box value from that PDF and applied it to all images. pdf latex eps share|improve this question edited May 3 '12 at 13:05 Mr Lister 24.9k85381 asked Apr 8 '09 at 21:29 euphoria83 5,581164862 closed as off-topic by Dave Jarvis, joran, Fraser, torazaburo, sandrstar Aug 13 '13 at 3:25 This question does not appear to be about programming within the scope defined in the help center.If this question can be reworded to fit the rules in the help center, please edit the question. 1 Are you using pdflatex? Cause latex only supports vector graphics (read: eps) –Stephan202 Apr 8 '09 at 21:36 1 For what it's worth, JPG is quite possibly the worst image format to use when you're going to print something (because of the quality degradation). In Latex EPS is best, PDF is a close second. –David Z Apr 8 '09 at 21:46 1 @David: EPS and PDF are essentially equivalent when it comes to image quality. It just depends whether you're using LaTeX or pdfLaTeX as to which you'd choose. &ndas