Added output support for images (JPG, PNG and GIF)