Documentation for getPixels()