title: How to detect animated .jpg image after uploading with nodejs?
body: <p>I am building a small app with nodejs/expressjs. I made an upload wizard for GIF and JPG images... Depend on images' extension I will classify them into Animated Images or Normal Images...</p>
  
  <pre><code>GIF --&gt; Animated Images
  JPG --&gt; Normal Images
  </code></pre>
  
  <p>But I got a problem, images in JPG can be animated. So how can I detect animated JPG images?
  Demo animated JPG: <a href="http://picforest.net/pic/0237bbca82954e74902a4afba66df221" rel="nofollow">http://picforest.net/pic/0237bbca82954e74902a4afba66df221</a></p>