Discussions on NConvert - the command line tool for image conversion and manipulation
Moderators: XnTriq, helmut, xnview
3 posts • Page 1 of 1
- Author of XnView
- Posts: 42477
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
You can use nconvert -o folder/%.png -out png *.jpgLudo wrote:Is there a way to write te converted image into a subdirectory or into another directory (Xnview allows that) ?
% is replaced by orignal filename
- Posts: 8702
- Joined: Sun Oct 12, 2003 6:47 pm
- Location: Frankfurt, Germany
As output file you can specify a pure filename (output.jpg) or a filename with path (C:\temp\output.jpg) as parameter.Ludo wrote:...Is there a way to write te converted image into a subdirectory or into another directory?...
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