Shrink all images as .bat, script, batch code

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

Moderators: XnTriq, helmut, xnview

Post Reply
OhLeut
Posts: 2
Joined: Sat Oct 27, 2018 6:04 pm

Shrink all images as .bat, script, batch code

Post by OhLeut »

Hello,
I want to keep images in the folder and subfolders shrinking example 250px and aspect ratio.

The originals should remain and the changed ones are to be stored in the new folder.

All this as a script, .bat, Batch for Windows Task Scheduler

Can you help me ?
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Shrink all images as .bat, script, batch code

Post by cday »

OhLeut wrote: Sat Oct 27, 2018 6:18 pm I want to keep images in the folder and subfolders shrinking example 250px and aspect ratio.

The originals should remain and the changed ones are to be stored in the new folder.

All this as a script, .bat, Batch for Windows Task Scheduler
NConvert?
OhLeut
Posts: 2
Joined: Sat Oct 27, 2018 6:04 pm

Re: Shrink all images as .bat, script, batch code

Post by OhLeut »

yes NConvert is available
cday
XnThusiast
Posts: 3976
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Shrink all images as .bat, script, batch code

Post by cday »

OhLeut wrote: Sat Oct 27, 2018 7:21 pm yes NConvert is available
If you are familiar with working at the command line, could you download NConvert, create a help file using -help, and see if it might meet your needs. I'm not sure whether all the functions you need are supported.

Another possibility might be to use the GUI program XnConvert, if necessary launched from a batch file if that is currently supported, which I am more confident supports recursion. Sorry I can't easily give you definitive answers on these points.
Post Reply