title: Imagemagick - split image and pipe to convert?
body: <p>I wish to split and image and then turn it into an animated gif with a single command.</p>
  
  <p>At the moment, I'm doing </p>
  
  <pre><code>mogrify -resize 200%x100% -crop 50%x100% image.jpg
  </code></pre>
  
  <p>Then I can do</p>
  
  <pre><code>convert -delay 25x100 -loop 0 image-0.jpg image-1.jpg movie.gif
  </code></pre>
  
  <p>Is there a way that I can pipe the output of mogrify to the input of convert?</p>
  
  <p>I tried running</p>
  
  <pre><code>convert -delay 25x100 -loop 0 &lt;(mogrify -crop 50%x100% m.jpg :-) test.gif
  </code></pre>
  
  <p>But it failed with the error</p>
  
  <pre><code>mogrify: no decode delegate for this image format `/tmp/magick-bHWzk1Xl' @ error/constitute.c/ReadImage/532.
  convert: no decode delegate for this image format `/tmp/magick-mVXjCXLd' @ error/constitute.c/ReadImage/532.
  convert: missing an image filename `test.gif' @ error/convert.c/ConvertImageCommand/3011
  </code></pre>