added exportPixels