DVIPDFM: Transformation Matrix Error


The dvipdfm program is used to convert a DVI file to a PDF file. For a DVI file which has EPS image files inside, this conversion might sometimes fail with the error shown below:

C:\Users\joe>dvipdfm foo.dvi
foo.dvi -> foo.pdf
** WARNING ** Image width=0.0!
** WARNING ** Image height=0.0!
** WARNING ** Transformation matrix not invertible.
** WARNING ** --- M = [0 0 0 0 233.624 -249.417]


This error indicates that one or more of the EPS image files included in the DVI file have no width and height information. This is typically caused by EPS files whose BoundingBox parameters are all zero. You can check this by opening the EPS file in a text editor and look for a line that resembles this:

%%BoundingBox: 0 0 0 0

If you can generate EPS files that have non-zero bounding box values, this conversion error should be gone. For a quick hack to fix an existing EPS file with these values see here.

Tried with: MiKTeX 2.9


One thought on “DVIPDFM: Transformation Matrix Error

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.