by sunrunner · 1y ago · 0 comments
image.size
ndarray.shape
Are the image sizes (width, height) or (height, width)?Trick question of course, it's (height, width, channels) for numpy. numpy is fairly well known though and sort of gets away with it, but when your never-seen-before internal company starts doing this, well...