BitmapImage.cpp updated