I wrote a pdf animation with the animate package using transparencies.
To be able to show this gif, on S.E, I created not transparencies but images and I could convert it into gif with imagemagick in this way:
convert -delay 10 -loop 0 -background white -alpha remove thepdf.pdf result.gif
But I wrote it with transparencies in the animateinline environment of the animate package and the pdf file is animated.
\documentclass{standalone}
\usepackage{tikz}
\usepackage{animate}
% creation of the ove.txt timeline file
\newwrite\Fichier
\immediate\openout\Fichier=ove.txt
\foreach \n in {0,1,...,6}{
\immediate\write\Fichier{::\n x0}
}
\immediate\closeout\Fichier% always close the file
\newcommand{\Debut}{% Systematic start of drawing
\begin{tikzpicture}
\useasboundingbox (-2.5,-2.5) rectangle (4,2.5);}
\newcommand{\Fin}{\end{tikzpicture} }% Systematic end of drawing
\begin{document}
\begin{animateinline}[autoplay,begin={\Debut},end={\Fin},timeline=ove.txt]{1.5}
% perpendicular straight - transparent 0
\draw[thick] (-2.5,0)--(4,0);
\draw[thick] (0,-2.5)--(0,2.5);
\newframe% circle - transparent 1
\draw[thick] (0,0) circle (2cm);
\newframe% half-line 1 - transparent 2
\draw[thick] (0,-2)--(3,1);
\newframe% half-line 2 - transparent 3
\draw[thick] (0,2)--(3,-1);
\newframe% arc 1 - transparent 4
\draw[thick](0,2)arc[start angle=90,end angle=45,radius=4cm];
\newframe% arc 2 - transparent 5
\draw[thick](0,-2)arc[start angle=-90,end angle=-45,radius=4cm];
\newframe% arc 3 - transparent 6
\draw[thick]([xshift=2cm]45:1.171573cm)arc[start angle=45,end angle=-45,radius=1.171573cm];
\end{animateinline}
\end{document}
I tried to convert these animated pdf into a gif and I didn't succeed.
Is it possible to convert an animated pdf file created with transparencies in this way to gif? If so, how?


