This function attempts to resize the image window such that the image window is as close to the image size as possible. If the image is too large, the window will be resized at large as possible to show as much image as can be done within reason.
Default Keyboard Shortcut: Ctrl-E