Surpress header info to stdout

Discussions on NConvert - the command line tool for image conversion and manipulation

Moderators: helmut, XnTriq, xnview

Post Reply
a3
Posts: 2
Joined: Thu Jul 07, 2005 4:35 am

header info!

Post by a3 »

pierre,

when i convert straight to a file, the file output does not include any sort of header information. however, when i use the stdout, you write a copyright header to the top of the output, which makes the file unreadable.

is there any way to suppress this information, or put it in stderr? the header information prevents me from using the output directly to a browser.

for example:

nconvert -out jpeg -o stdout FILE.jpg


Output contains this at the top:

** NCONVERT v4.16 (c) 1991-2004 Pierre-E Gougelet (Feb 17 2004/13:47:29) **
Version for Linux x86 (X11) (All rights reserved)
** This is a freeware software (for non commercial use)
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: header info!

Post by xnview »

a3 wrote:pierre,

when i convert straight to a file, the file output does not include any sort of header information. however, when i use the stdout, you write a copyright header to the top of the output, which makes the file unreadable.

is there any way to suppress this information, or put it in stderr? the header information prevents me from using the output directly to a browser.

for example:

nconvert -out jpeg -o stdout FILE.jpg


Output contains this at the top:

** NCONVERT v4.16 (c) 1991-2004 Pierre-E Gougelet (Feb 17 2004/13:47:29) **
Version for Linux x86 (X11) (All rights reserved)
** This is a freeware software (for non commercial use)
-quiet
Pierre.
Post Reply