title: How to display an animated gif with Linux?
body: <p>I want to open a GIF image from the python console in Linux. Normally when opening a <code>.png</code> or <code>.jpg</code>, I would do the following:</p>
  
  <pre><code>&gt;&gt;&gt; from PIL import Image                                                                                
  &gt;&gt;&gt; img = Image.open('test.png')
  &gt;&gt;&gt; img.show()
  </code></pre>
  
  <p>But if I do this:</p>
  
  <pre><code>&gt;&gt;&gt; from PIL import Image                                                                                
  &gt;&gt;&gt; img = Image.open('animation.gif')
  &gt;&gt;&gt; img.show()
  </code></pre>
  
  <p>Imagemagick will open but only show the first frame of the gif, not the animation.</p>
  
  <p>Is there a way to show the animation of the GIF in a viewer in Linux?</p>