Fixed command line interface for image generation