Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

My image works perfectly with \includegraphics:


but when I include it with \animategrahics ...


... approximately the lower half of the image is cut off.

Whats wrong ?

share|improve this question
The last 2 arguments of \animategraphics must be set to blanks. See my answer. –  stalking is prohibited Sep 27 '12 at 9:30
@ガベージコレクタ That is not entirely correct, the last 2 arguments are necessary when the formatting of the counters are not consecutive. Thus Holger have done it correct. –  zeroth Sep 27 '12 at 9:35
@Holger we probably need at least two images to figure out what goes wrong. Furthermore having images of different sizes could be the issue. It is not clear from the current information whether this is the case. –  zeroth Sep 27 '12 at 9:45
Are you animating graphics files in Postscript file format? If so, you are going the latex-->dvips-->ps2pdf workflow. Here you must not call dvips with option -Ppdf. See the Bugs section of animate doc. –  AlexG Sep 27 '12 at 12:03

1 Answer 1

There are two pitfalls in using the latex-->dvips-->ps2pdf workflow. Both of them are explained in the Bugs section of the animate documentation.

  1. The dvips option -Ppdf must be either omitted entirely or extended by appending option -D1200. This sets a sensible DVI resolution (which is only relevant for Type-3 pixel-font generation by MetaFont).

    Some (La)TeX-aware editors, such as TeXnicCenter use the dvips commandline option -Ppdf by default. Check the preferences of the editor.

  2. The unscaled graphics must not exceed the document page dimensions. Otherwise parts of the graphics may be cropped away during ps2pdf conversion. Resize Postscript graphics files using the epsffit commandline tool as explained in the animate doc, if needed. epsffit is part of TeX-Live.

share|improve this answer
Excuse me, will you update the animate package to support spaces in the path as answered here? –  stalking is prohibited Oct 14 '12 at 3:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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