stream makes false errors if pipe does not read data

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
Juce
Posts: 12
Joined: 2011-03-22T07:06:04-07:00
Authentication code: 8675308
Location: Finland

stream makes false errors if pipe does not read data

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

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

Post Reply