1

I'm generating an error when I try to run an animation in beamer. I have a set of 100 png files titled 0.png, 1.png, etc. Calling with this code,

\documentclass{beamer}
\usepackage{animate}
\begin{document}
\begin{frame}
\frametitle{a}
    \animategraphics[autoplay,loop]{20}{figs/animBending/}{0}{100}
\end{frame}
\end{document}

I generate the error

libpng error: Not a PNG file

I've tried renaming all my files with extensions .png and .PNG, both give the same error. What's the issue here?

Edit: .log file here

Edit: 0.png here

avikarto
  • 121

1 Answers1

1

The images in question were apparently gif files even though windows recognized them as .png. This was the source of the errors.

avikarto
  • 121
  • 1
    Therefore: Never suppress showing the file endings in WindosExplorer. There must be a switch somewhere to configure this. – AlexG Mar 15 '18 at 17:26
  • @AlexG I have windows set to show extensions, and the extensions are .png. The tool I used to convert the images must have simply renamed files .gif->.png instead of converting for real. – avikarto Mar 15 '18 at 17:27