adding support for testing image formats