graphicsmagick

Resize to max dimensions:

750 is the max width for the H•R•E

 gm convert -size 750x750 inputfile -resize 750x750 outputfile