forked from: BitmapDataSample1

