forked from: BitmapDataSample5

