forked from: BitmapDataSample4

