Test width/height of input image.