Home > LaTeX > LaTeX Error: Cannot determine size of graphic (no BoundingBox)

LaTeX Error: Cannot determine size of graphic (no BoundingBox)

What’s a BoundingBox?

A BoundingBox is a entry that is located in PostScript files that tells the reader the scale limits of the file. LaTeX uses this entry to determine how to place the image in the document.

How to fix the LaTeX problem

It is quite easy to fix this problem. The free software package ImageMagick is used in this case to convert the images from one form to another. ImageMagick is able to convert many image formats to many other types. To do the conversion just enter this into your console:

root@toor ~ # convert image.jpg image.eps

You can find a portable Win32 release ImageMagick-X.X.X-Q16-windows.zip here.

For converting jpgs to PostScript files there is also a free utility named jpeg2ps. You can download it from here.

Categories: LaTeX
  1. Nirav Joshi
    May 12, 2014 at 07:44

    After conversion the file becomes too large, that may not be the best option.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s