Added createImageFromBmp