1

I am trying to animate a set of .eps files (>2000 images) which will give me a nice animation, but when I include it in my latex document using the MWE it is not giving me anything, but some errors. But when I use the same with .png files it works, can anyone help me with this. (The file name are as (picture-1.eps,...,picture2000.eps) and these figures are obtained from matlab for an experiment)

\documentclass{article}

\usepackage{graphicx}

\usepackage{animate}

\begin{document}

 \begin{figure}[H]

\animategraphics[loop,autoplay,width=\textwidth,height=.5\textheight]{12}{picture-}{1}{2000}

\end{figure}

\end{document}
  • Does it work with 2 eps files? Are you using LaTeX or pdfLaTeX? What are the exact error messages you receive? – darthbith Feb 11 '16 at 19:24
  • Nope it is not working with 2 eps files either, and I am using PdfLaTex and the errors I am getting are: 1. Package animate Error: Neither of the files (But the files are present in the folder I am working) 2. running in backwards compatibility mode (unsuitable tick labels; missing features). 3. Data encoding is 'utf8'., where 2,3 are warnings – Raaja Feb 11 '16 at 19:29
  • Then see here for eps in pdflatex: tex.stackexchange.com/q/383/32374 – darthbith Feb 11 '16 at 19:31
  • Also, your second error looks like a warning from pgfplots that you have not set the compatibility level. If you are using pgfplots, make sure to write \pgfplotsset{compat=1.13} in your preamble. – darthbith Feb 11 '16 at 19:33
  • 1
    The easiest is probably to convert them to PDF or PNG – darthbith Feb 11 '16 at 19:37
0

As darthbith mentioned, convert the images in .eps to pdf/png and load it into pdflatex for displaying the graphics.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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