Got the BMP working, for small (w, h < 10) image sizes.