Page 1 of 1

stream makes false errors if pipe does not read data

Posted: 2011-05-01T05:36:41-07:00
by Juce

Code: Select all

stream images\logo.png - | dir > file.txt

stream: IDAT: CRC error `images\logo.png' @ error/png.c/MagickPNGErrorHandler/1282.
stream: Corrupt image `images\logo.png' @ error/png.c/ReadPNGImage/3252.
stream: missing an image filename `images\logo.png' @ error/stream.c/StreamImageCommand/762.
"stream images\logo.png - | dir > file.txt" may seem silly, but problem is real when streaming images to x264.

stream -version
Version: ImageMagick 6.6.9-6 2011-04-14 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: OpenMP

Windows XP SP3 32-bit