make single call to getImageData