I would like to make a GIF animation out of a series of functional shadings. But it seems ImageMagick cannot even handle one shading. Did I miss any option of ImageMagick? Or are there any alternatives?


The PGF manual proposed a beautiful shading

of which an MWE is as follows

\tikz\shade[shading=Mandelbrot set](0,0)rectangle(2,2);

Then I found that ImageMagick does not convert the resulting PDF properly. For instance with

convert -density 1440 in.pdf out.gif

it gives

  • 1
    I like that "glitchy" effect.
    – Clément
    Feb 24, 2016 at 15:28
  • 1
    @Clément That is the annoying part! ImageMagick definitely knows functional shading, but it behaves like it is unwilling to deal with it.
    – Symbol 1
    Feb 24, 2016 at 15:31
  • Yes, I know! I tried other options with gs, with dvi outputs, and get the same (or even worst) results. What makes you think the problem comes from PGF and not from ImageMagick?
    – Clément
    Feb 24, 2016 at 15:34
  • @Clément It would be nice if "it is PGF's fault and we can find other ways to generate functional shadings". In this manner, even TeX is not really necessary.
    – Symbol 1
    Feb 24, 2016 at 15:50
  • 5
    I'm voting to close this question as off-topic because it is related to (problematic) optimization of external script (Ghostscript and ImageMagick)
    – Symbol 1
    Mar 21, 2017 at 20:18


Browse other questions tagged .