It could be nice to add operations to resize and compress image locally before generating the output
On Mac OS at console you simply need to
Then simply type
sips -Z 1024 *.jpg
and you're done.
So what is happening here?
• sips is the command and -Z keeps the image's aspect ratio.
• "1024" is the maximum width and height.
• "*.jpg" converts every image ending in .jpg.
For Compression ImageOptim is also available for command line operations