In the Gallery app, the getImageSize() function used to be local, now it is in a shared file because the new shared cropResizeRotate() function needs it too.