loadPixels loads pixels