Added image output

Both formats have been tested and WORK. (See sample.sh)