Assume that offset is zero, scanlength is the width, x & y are 0, and width and height are what we asked for. Essentially each pixel becomes an 0xAARRGGBB integer (we'd rather you didn't use transparency).