Wanganderry
Resize Images (cli In Linux)
How to quickly resize images from Linux command line.
ImageMagick
sudo apt-get install imagemagick
Use the convert
command with the -resize 1024x683
Example
convert -resize 1024x683 example.jpg example_1024x683.jpg
How-To-Geek has a great writeup.