Command-line image processing