An example to achieve this may be downloaded here: attach/w2m/20161224122229_ResampleJpg.zip 62.17 KB This code resamples all supported file types in a folder to a specified size and saves the resampled images to a specified folder.
w2m the main reason to resize image is to reduce file size, but with your application it make file size larger even with smaller dimensions, with IEResampleImageFile and IECreateThumbnailFromFile