![LaTeX で animate パッケージを使用して PNG 画像のシーケンスをアニメーション化する際の問題](https://rvso.com/image/472335/LaTeX%20%E3%81%A7%20animate%20%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8%E3%82%92%E4%BD%BF%E7%94%A8%E3%81%97%E3%81%A6%20PNG%20%E7%94%BB%E5%83%8F%E3%81%AE%E3%82%B7%E3%83%BC%E3%82%B1%E3%83%B3%E3%82%B9%E3%82%92%E3%82%A2%E3%83%8B%E3%83%A1%E3%83%BC%E3%82%B7%E3%83%A7%E3%83%B3%E5%8C%96%E3%81%99%E3%82%8B%E9%9A%9B%E3%81%AE%E5%95%8F%E9%A1%8C.png)
こんにちは、LaTeXコミュニティの皆さん、
現在、scrbook クラスを使用してドキュメントを作成しており、複数の .png 画像のアニメーションを組み込もうとしています。frame0.png から frame19.png まで順番に名前が付けられた 20 枚の画像があり、これらを LaTeX ドキュメントでアニメーション化したいと考えています。
私は次のコードで animate パッケージを使用しようとしています:
\documentclass{scrbook}
\usepackage{graphicx} % Required for inserting images
\usepackage{animate}
\title{animationTest}
\author{Frisbee}
\date{December 2023}
\begin{document}
\section{Introduction}
\begin{center}
\animategraphics[autoplay,loop,width=\textwidth]{10}{frame}{0}{19}
\end{center}
\end{document}
.pdf ファイルで animateinline も試しましたが、今のところうまくいきません。
\documentclass{scrbook}
\usepackage{graphicx} % Required for inserting images
\usepackage{animate}
\title{animationTest}
\author{Frisbee}
\date{December 2023}
\begin{document}
\maketitle
\section{Introduction}
Here is the animation:
\begin{center}
\begin{animateinline}[autoplay,loop]{10}
\multiframe{20}{i=0+1}{
\includegraphics[width=\textwidth]{frame\i.pdf}
}
\end{animateinline}
\end{center}
\end{document}
どちらのシナリオでも、1 つの画像が読み込まれ、その画像の上にマウスを移動すると、何らかの操作があるかのように黄色に点灯しますが、アニメーションは表示されません。
私はOverleafを使用しており、LaTeX PDFファイルをMacプレビューで開きました。
前もって感謝します!