forked from: BitmapDataSample8

