LaTeX Error: Cannot determine size of graphic in (no BoundingBox). Why do I Whereas a PDF includes DPI and size, a JPEG has only a size in terms of pixels. (I know To include png and jpg, you need to specify the Bounding Box explicitly. . Please check that there is no inclusion of epsfig, it is deprecated. LaTeX Error: Cannot determine size of graphic in../../results2/html/ (no BoundingBox). The true size of the image is x in pixels. LaTeX-Compiler can’t determine the graphic-size, because there is no like: “ Cannot determine size of graphic (no BoundingBox)”.

Author: Kazrashura Zulkimi
Country: Romania
Language: English (Spanish)
Genre: Literature
Published (Last): 23 November 2010
Pages: 203
PDF File Size: 12.45 Mb
ePub File Size: 16.58 Mb
ISBN: 193-5-32408-325-6
Downloads: 36474
Price: Free* [*Free Regsitration Required]
Uploader: Sakazahn

You do not need to do any scaling of the image yourself. Would you like to answer one of these unanswered questions instead? Although the question has been answered by DavidCarlisle in the comment, I’ll try to complete the answer here. That’d be much grapjic better than a tiny-font pixel-width image.

When I bring up test2. How is it getting the bounding box values?

MacTex seems to be more robust than other Tex distributions that I’ve seen. Please use that instead! I saw this issue with a jpeg file. This does not seem to be an answer, because it does not explain what you did to resolve the problem.

[pdftex] \includegraphics doesn’t work (no BoundingBox)

I eventually just decided to let the file contain everything. This approach is independant of paper size and therefore more handy.

What is the source of your figure? This is the horizontal distance between your left and right margins. Is there an open bug report about it anywhere? Latex uses this entry to determine how to place the image in the document.


In that case you would end up with a resolution when printing of DPI. Cannot determine size of graphic in tree. DavidCarlisle latx we’ve had problems here in production with the bounding box at the end; maybe it’s dvips that can’t find it properly, but in any case, we always have to make repairs.

Jpg is lossy, but it seems to fulfill its warranty and only loose things you can’t see. Should we migrate this and other tex questions to tex. Your source image is an emacs window dump which contains many 1-pixel wide features. A BoundingBox is a entry that is located in PostScript files that tells the reader the scale limits of the file. Incidentally, you can change this in TexShop from the “Typeset” menu. A very fast solution is to convert the png file into eps format.

Graphics, Images & Pictures

For dvipdfm xone should use dvipdfm or dvipdfmx option of graphicx pacakge, and use extractbb ebbxbb program to dteermine. So in the context of ‘lyx’ I found a work around Compiling into pdf works, thanks. But in order for that to work I had to comment out the following 2 packages: Some of them can help a lot.

Yeah, its surprising how the interface for CS journals are so out-dated. By default it will save at 72dpi resolution. You need to use pdflatex for this. Do this either by opening the file in a text editor or by using something like the grep command:.

Dvips I think can’t, but even if it could I doubt it would improve picture quality.

Each one has its strong and weak points. Mico k 30 This is neither boundnig LyX thing, nor really an error of pdflatex.

jpeg – include figure files in latex – Stack Overflow

By clicking “Post Your Answer”, you acknowledge that you have read our updated terms of serviceprivacy policy and cookie policyand that your continued use of the website is subject to these policies. This is not supposed to happen for valid eps files, as they should contain a BoundingBox comment and the graphicx package should be able to read it. You can adjust it to match the resolution of your printer, and use a more complex dithering method, and avoid the printer’s half-toning.

  6ES5 430-7LA12 PDF

Canhot on a mac will do that for you easily. You are trying to run pdflatex in DVI-mode, where only eps figures are allowed.

Also the technique of reducing the image size affects this a lot.

[pdftex] \includegraphics doesn’t work (no BoundingBox)

Which journal are you publishing to? This even works on Windows systems if you have Imagemagick installed. There should be a buch of other options as well; for example ‘import’ from ImageMagick suite will do a fine job and can be used in scripts. Color is not an issue, I mostly deal with BW captures. Also when using pdflatex you should include only jpegs, pngs and boundijg images. In my case it turned out that I had a file named figure.

Also remember that a dpi printer can only print at the equivalent of dpi when printing colour. For example, using the graphicx.