I am using Windows x64 bit , Texmaker 5.0.3 , basic miktex 2.9.6850 and when I compile this code, I mean when I run 'LaTeX':

\graphicspath{ {C:/Varie/UNI/MANO/I-semestre-2018/fraboni/esperimenti/RT/pictures/} }



I get this error both with png and pdf formati file:

! LaTeX Error: Cannot determine size of graphic in C:/Varie/UNI/MANO/I-semestre -2018/fraboni/esperimenti/RT/pictures/apparatus.pdf (no BoundingBox).

I saw other answer here but I could not solve it.

  • 1
    What exactly are you running here? It sounds like you're running latex and not pdflatex. Try the latter.
    – daleif
    Dec 5, 2018 at 18:07
  • I am running LaTeX Dec 5, 2018 at 21:18
  • 1
    You need to run pdflatex, latex does noget support anything other than eps
    – daleif
    Dec 5, 2018 at 21:19
  • @daleif I love you thank you very much. now it works Dec 5, 2018 at 21:21

1 Answer 1


You need to run pdflatex and not latex, latex does not support anything other than eps.

  • 1
    I am running pdflatex. Still I get the error: ! LaTeX Error: Cannot determine size of graphic in sismo.jpg (no BoundingBox). Jul 9, 2020 at 20:54
  • 2
    what if I am using overleaf and get the same error? Jan 6, 2021 at 6:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.