title: Problems when resizing cinemagraphs (animated GIFs)
body: <p>I'm having issues resizing cinemagraphs. If you don't know, they are gifs where only a portion of the image is animated, compared to a regular gif where the entire image is animated. Here is a node.js example:</p>
  
  <pre><code>// ![http://i.imgur.com/Qb1m0.gif][1]
  
  var gm = require('gm')
  
  var file = 'Qb1m0.gif',
      frags = file.split('.')
  
  gm(file)
    //.noProfile()
    //.quality(80)
    .resize(200, 200)
    .write(frags[0] + '_200.' + frags[1], function(err) {
      if (err) console.error(err)
    })
  
  // Result:
  // ![http://i.imgur.com/eFqak.gif][2]
  </code></pre>
  
  <p>And equivalent cmd line code is:</p>
  
  <pre><code>gm convert Qb1m0.gif -resize 200x200 cinema_200.gif
  </code></pre>
  
  <p>Know what's going on?</p>
  
  <h3>Original animated GIF:</h3>
  
  <p><img src="https://i.imgur.com/Qb1m0.gif" alt="Original"></p>
  
  <h3>Resized animated GIF:</h3>
  
  <p><img src="https://i.imgur.com/eFqak.gif" alt="Resized"></p>