Write codec verbose prints to wrong
Posted: 2011-06-30T03:37:59-07:00
Verbose output for output codec is to stdout, not stderr.
Example
The file stderr contains... (which was from the read)
Other tests (adjusting the verbose setting range) shows that it is the final write that does it wrong.
It causes problems in debugging convert commands in data pipelines.
Example
Code: Select all
convert -verbose null: -compress none ppm: >stdout 2>stderr
the file stdout containsnull:=> NULL 1x1 1x1+0+0 16-bit DirectClass 0.000u 0:00.000
That last line is NOT part of the image and should have been in the stderr file not the stdout.P6
1 1
65535
0 0 0
null:=> NULL 1x1 1x1+0+0 16-bit DirectClass 0.000u 0:00.000
Other tests (adjusting the verbose setting range) shows that it is the final write that does it wrong.
It causes problems in debugging convert commands in data pipelines.