stdin | stdout
Moderator: xnview
-
a3
- Posts: 2
- Joined: Thu Jul 07, 2005 4:35 am
stdin | stdout
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.
-
xnview
- Author of XnView
- Posts: 47308
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: stdin | stdout
You have it for example: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.
nconvert -o stdout stdin, but this doesn't works for all formats...
Pierre.
-
lazerfisk
- Posts: 17
- Joined: Wed May 05, 2004 3:00 pm
- Location: Karlstad, Sweden
Re: stdin | stdout
xnview wrote:You have it for example: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.
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>Cheers,
Christopher