support for different output image formats