BitmapImage extended to allow batch pixel writing.