Writing converted file to a subdir ?

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

Moderators: XnTriq, xnview

Post Reply
Ludo

Writing converted file to a subdir ?

Post by Ludo » Tue Feb 17, 2004 10:44 am

Hello,

Is there a way to write te converted image into a subdirectory or into another directory (Xnview allows that) ?

Thanks
Ps: i'm using nconvert v3.88

User avatar
xnview
Author of XnView
Posts: 31887
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Writing converted file to a subdir ?

Post by xnview » Tue Feb 17, 2004 8:43 pm

Ludo wrote:Is there a way to write te converted image into a subdirectory or into another directory (Xnview allows that) ?
You can use nconvert -o folder/%.png -out png *.jpg
% is replaced by orignal filename
Pierre.

User avatar
helmut
Posts: 8174
Joined: Sun Oct 12, 2003 6:47 pm
Location: Frankfurt, Germany

Re: Writing converted file to a subdir ?

Post by helmut » Tue Feb 17, 2004 9:03 pm

Ludo wrote:...Is there a way to write te converted image into a subdirectory or into another directory?...
As output file you can specify a pure filename (output.jpg) or a filename with path (C:\temp\output.jpg) as parameter.

E.g. for converting a TIFF image to JPG format and save it in C:\temp you would use:

nconvert -o C:\temp\output.jpg -out jpeg input.tif

Post Reply