EPS: Bounding Box Problem


Some EPS file generators produce a BoundingBox attribute that is all zeroes. This can fail certain programs that depend on non-zero BoundingBox values in EPS files. (For an example of such a failure see here).


Here is a quick hack that might work. EPS files are text files and can be opened and edited using any text editor. Open the EPS file in a text editor and check if it has a HiResBoundingBox attribute. If it does, you are in luck! πŸ™‚ Copy over its values to the BoundingBox attribute. If this does not work, copy over the HiResBoundingBox values and convert them to integers for BoundingBox.


One thought on “EPS: Bounding Box Problem

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 )

Google photo

You are commenting using your Google 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.