Replaced Bitmap class with stb_image_write.h