output to stdout if file name is "-"

Doesn't work with WIC

+ redirect some info messages from stdout to stderr
+ fix the error reporting upon output-writing error

Change-Id: I92b8bd7a15e656a3f3cdfbf56299f024e39453f8
This commit is contained in:
skal
2013-08-19 12:09:37 -07:00
parent 43a7c8ebee
commit a5e8afafcb
2 changed files with 44 additions and 17 deletions

View File

@ -23,6 +23,8 @@ Print the version number (as major.minor.revision) and exit.
.TP
.BI \-o " string
Specify the name of the output file (as PNG format by default).
Using "-" as output name will direct output to 'stdout' (this feature
is not available when using WIC under Windows).
.TP
.B \-bmp
Change the output format to uncompressed BMP.