Nconvert script for entire folder

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

Moderators: helmut, XnTriq, xnview

Post Reply
thomdroz
Posts: 3
Joined: Thu Mar 24, 2011 5:45 pm

Nconvert script for entire folder

Post by thomdroz »

I am looking for a script that will take all files in a folder (they are all *.jpg in folder c:\test\)
and resize all files to 640x480 and change the dpi to 72, the names should be rewritten over the top of the current file, so after nconvert runs all the files in c:\test are the original name but all are now 640x480 @ 72 dpi.....

It sounds easy but i have had no luck in try to find any examples that do this.....

any help would be greatly appreciated!

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

Re: Nconvert script for entire folder

Post by xnview »

there is no recurse option with NConvert, but you can do that in a batch
Pierre.
thomdroz
Posts: 3
Joined: Thu Mar 24, 2011 5:45 pm

Re: Nconvert script for entire folder

Post by thomdroz »

I need something that I can call from a bat file and run
is there a way to do that...?
thank you!
User avatar
xnview
Author of XnView
Posts: 46238
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Nconvert script for entire folder

Post by xnview »

Please check this topic
Pierre.
Post Reply