Added the ScaleBitmap class, contributed by @joshtynjala