8

I made a beamer with some animations. Here is a sample of my code:

\usepackage{animate}
\begin{document}
\begin{figure}[!ht]
    \centering
    \animategraphics[autoplay,loop,width=\textwidth]{2}{../figures/sim_scan/res_scan_sim_}{0}{50}
    \caption{Simulation of the \textit{ScanSAR} mode}
    \label{res_scan_animation}
\end{figure}
\end{document}

I want to know, is there is a way to select which frame is displayed when the pdf viewer doesn't support animations or when it is printed?

1 Answer 1

10

The value of the poster option determines which frame of the animation to print and to display at first. This should work in any pdf viewer.

The default is to show the first frame of the sequence. Alternatively, the last frame can be displayed (poster=last) or no frame at all (poster=none).

Also, since version 2014/11/25, any of the animation frames can be specified as the poster frame by supplying an integer to the poster option. E. g. poster=99 displays the 100th frame (frame numbers are 0-based).


poster=first is default behaviour and does not need be given explicitly.

11
  • Brilliant! Can I set the value of this property to a frame number (e.g. poster=50)? I just tried and it displayed nothing. Jul 24, 2013 at 15:06
  • @user2482876: This hasn't been implemented yet. I may put it on my tasks list.
    – AlexG
    Jul 24, 2013 at 15:11
  • ok, then is there a way to choose the middle frame? Jul 24, 2013 at 15:12
  • @user2482876 There will be. One day.
    – AlexG
    Jul 24, 2013 at 15:16
  • 1
    @Smylic : Now, with the current version, playback starts from the beginning, irrespective of the poster frame setting.
    – AlexG
    Dec 2, 2021 at 8:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .