Page 1 of 1
stdin | stdout
Posted: Thu Jul 07, 2005 4:42 am
by a3
would like to see you support stdin and real stdout (i.e. you are currently putting licensing information in stdout, rather than putting it in stderr, for example). this would eliminate the need to deal with temp files, if, for example, i wanted to pull an image from a database, run nconvert and then pipe it directly to a web browser.
Re: stdin | stdout
Posted: Sat Jul 09, 2005 12:16 pm
by xnview
a3 wrote:would like to see you support stdin and real stdout (i.e. you are currently putting licensing information in stdout, rather than putting it in stderr, for example). this would eliminate the need to deal with temp files, if, for example, i wanted to pull an image from a database, run nconvert and then pipe it directly to a web browser.
You have it for example:
nconvert -o stdout stdin, but this doesn't works for all formats...
Re: stdin | stdout
Posted: Tue Oct 11, 2005 2:20 pm
by lazerfisk
xnview wrote:a3 wrote:would like to see you support stdin and real stdout (i.e. you are currently putting licensing information in stdout, rather than putting it in stderr, for example). this would eliminate the need to deal with temp files, if, for example, i wanted to pull an image from a database, run nconvert and then pipe it directly to a web browser.
You have it for example:
nconvert -o stdout stdin, but this doesn't works for all formats...
Code: Select all
C:\World of Warcraft\Screenshots>type WoWScrnShot_100905_223539.tga | nconvert -D -o stdout -out jpeg stdin > test.jpg
Error: Can't read file (stdin)
C:\World of Warcraft\Screenshots>
That didn't go too well

What am i doing wrong?
Cheers,
Christopher