Some command line graphics manipulation examples

Batch Resizing JPEGs:

mogrify -resize 800x600 *JPG

 

Batch quality adjustment of JPEG:

mogrify -quality 40 *JPG