Add a command line option for image output.