forked from: BitmapDataSample6

