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: Kazinos JoJokree
Country: Laos
Language: English (Spanish)
Genre: Finance
Published (Last): 18 July 2008
Pages: 169
PDF File Size: 10.33 Mb
ePub File Size: 16.54 Mb
ISBN: 386-8-67926-586-3
Downloads: 44974
Price: Free* [*Free Regsitration Required]
Uploader: Nenos

Anyway to use the default setting without need to specify the width and height? I get the same errors for both.

Graphics, Images & Pictures

Which journal are you publishing to? Sign up using Email and Password. You might want to post a URL where the images are. By using our site, you acknowledge that you have read and understand our Cookie PolicyPrivacy Policyand our Terms of Service. If not, there’s a script on CTAN called bbfig, which tries to determine the correct bounding box. Yep, just saying ugly doesn’t help. A very fast solution is to convert the png file into eps format.

Email Required, but never shown. Mico k 30 To include png and jpgyou need to specify the Bounding Box explicitly. This image worked fine on Linux.


Well, I’m a little bit smarter again…. How to fix my Latex problem It is quite easy to fix this problem.

It seems that you are perfectly available of trying this out faster than it takes to post to a newsgroup. Do this either by opening the file in a text editor or by using something like the grep graphuc. The rescaled version looks a little blurrier, as you’ve downsampled it with something.

Graphics, Images & Pictures

It can be done easily using graphic software, for instance Inkscape. But then why is it working on my machine? When I use pdftex, the command:.

And in my version of gv this is indeed the exact same scaling which the previewer will do if “Natural Size” instead of “Pixel Based” is choosen, so on my screen they even have the exact same size.

The Hraphic should normally be able to deal with these images if the original resolution before scaling would have been somewhere between 50—DPI.

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

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.

A non-Latex solution A very fast solution is to convert the png file into eps format. A lot of the ACM journals and conferences actually take word files, which is even worse.

This is the most interesting part that I wanted to know. If this question can be reworded to fit the rules in the help centerplease edit the question. Do you really want help? How to fix my Latex problem.


If you have an x pixel screenshot, and want to print it with, say, dpi, it has the dimensions: ImageMagick is able to convert many image formats to many other types. I guess it used the bounding box value from that PDF and applied it to all images. I can only assume that your previewers do some sort of extrapolation or somesuch. Without, the two images are absolutely identical except for a small white border to the right and bottom of the eps, but I assume this is an artefact of gv rather than soemthing in the image.

I used gimp to convert from. Also the technique of reducing the image size affects this a lot. I get this error when I try to view a document containing an eps image.

Below is a sample LaTeX file. Working with DVI is often faster and compatible with more packages. Providing you printer is full color.

Cannot determine size of graphic in tree. My graphic is exported from PowerPoint, so I have tried both.