5.4. Shrink Wrap

This command can be accessed from an image menubar as View->Shrink Wrap, or by using the keyboard shortcut Ctrl-E.

"Shrink Wrap" resizes the window so that it precisely matches the dimensions of the image display at the current zoom level, unless this would cause it to be larger than the viewable area of the monitor. Note that you can make this happen automatically by setting the options "Resize window on zoom" and "Resize window on image size change" in the Image Window page of the Preferences dialog. Note also that this behavior is not implemented by GIMP itself, but rather by the window manager, so it is possible that in some very broken environments it might not work, through no fault of GIMP's.