title: How can I extract the first frame of an animated gif using ImageMagick's convert utility from STDIN?
body: <p><strong>I have seen information about how to process images using the '-' filename to process images from STDIN to STDOUT.</strong></p>
  
  <p><code>$ convert logo: gif:- | display gif:-</code></p>
  
  <p><strong>I have read how to extract a single frame from an animated gif.</strong></p>
  
  <p><code>$ convert 'images.gif[0]' image.png</code></p>
  
  <p><strong>I have not found any information about how to extract the first frame of a gif from STDIN.</strong></p>
  
  <p>I've tried <code>convert -[0]</code> and <code>convert -'[0]'</code> to no avail.  Can you help?</p>
  
  <p><a href="http://www.imagemagick.org/script/command-line-processing.php" rel="noreferrer">http://www.imagemagick.org/script/command-line-processing.php</a></p>