add support for GIF and BMP files