added image output for producing videos