Fire up your Terminal and cd into the desired image directory. Then simply type sips -Z 1024 *.jpg and you’re done.

  • -Z keeps the image’s aspect ratio.
  • “1024” is the maximum width and height.
  • “*.jpg” converts every image ending in .jpg.

or use ImageMagick