Support for saving general files to BMP image.