2.2. Bildfönster
| 2. Huvudfönster |

### 2.2. Bildfönster

GIMP user interface is now available in two modes: multi-window mode (default), and single-window mode (optional, through Windows → >Single-Window Mode. But, if you quit GIMP with this option enabled, GIMP will open in single mode next time).

In single-window mode, no new window is added: images and dialogs are added in tabs. Please see Single Window Mode.

When you start GIMP without any image open, the image window seems to be absent in single-window mode, while, in multi-window mode, an image window exists, even if no image is open.

We will begin with a brief description of the components that are present by default in an ordinary image window. Some of the components can be removed by using commands in the View menu.

Figur 3.5. The Image Window in Multi-Window Mode

Figur 3.6. The Image Area in Single-Window Mode

| Notera
Despite Single-window Mode, we will use ”image window” for ”image area”.

1. Title Bar: The Title Bar in an image window without an image displays ”GNU Image Manipulating Program”. An image window with an image displays the image name and its specifications in the title bar according to the settings in Preference Dialog. The Title Bar is provided by the operating system, not by GIMP, so its appearance is likely to vary with the operating system, window manager, and/or theme — in Linux systems, this title bar has a button to display the image window on all your desktops. You also have this button in toolbox window and layer window.

   If you have opened a non-xcf image, it is ”(imported)” as a .xcf file and its original name appears in the status bar at the bottom of the image window.

   When an image is modified, an asterisk appears in front of title.

2. Image Menu: Directly below the Title Bar appears the Menu bar (unless it has been suppressed). The Image Menu provides access to nearly every operation you can perform on an image. You can also right-click on an image to display a pop-up image menu, [1], or by left-clicking on the little ”arrow-head” symbol in the upper left corner, called Menu Button, described just below. Many menu commands are also associated with keyboard shortcuts as shown in the menu. You can define your own custom shortcuts for menu actions, if you enable Use Dynamic Keyboard Shortcuts in the Preferences dialog.

3. Menu Button: Click the Menu Button to display the Image Menu in a column,(essential in full screen mode). If you like to use keyboard shortcuts, use Shift+F10 to open the menu.

4. Ruler: In the default layout, rulers are shown above and to the left of the image. Use the rulers to determine coordinates within the image. The default unit for rulers is pixels; use the settings described below to use a unit other than pixels.

   One of the most important uses of rulers is to create guides. Click and drag a ruler into the image to create a guide. A guide is a line that helps you accurately position things—or verify that another line is truly horizontal or vertical. Click and drag a guide to move it. Drag a guide out of the image to delete it; you can always drag another guide into the image. You can even use multiple guides at the same time.

   In ruler area, the mouse pointer position is marked with two small arrow-heads pointing vertically and horizontally.

5. QuickMask Toggle: The small button in the lower left corner of the image toggles the Quick Mask on and off. When the Quick Mask is on, the button is outlined in red. See QuickMask for more details on this highly useful tool.

6. Pointer Coordinates: When the pointer (mouse cursor, if you are using a mouse) is within the image boundaries, the rectangular area in the lower left corner of the window displays the current pointer coordinates. The units are the same as for the rulers.

7. Units Menu: Use the Units Menu to change the units used for rulers and several other purposes. The default unit is pixels, but you can quickly change to inches, cm, or several other possibilities using this menu. Note that the setting of ”Dot for dot” in the View menu affects how the display is scaled: see Dot for Dot for more information.

8. Zoom Button: There are a number of ways to zoom the image in or out, but the Zoom Button is perhaps the simplest. You can directly enter a zoom level in the text box for precise control.

9. Status Area: The Status Area is at the bottom of the image window. By default, the Status Area displays the original name of the image.xcf file, and the amount of system memory used by the image. Please use Edit → Preferences → Image Windows → Title & Status to customize the information displayed in the Status Area. During time-consuming operations, the status area temporarily shows the running operation and how complete the operation is.

   | Notera
   Note that the memory used by the image is very different from the image file size. For instance, a 70Kb .PNG image may occupy 246Kb in RAM when displayed. There are two primary reasons the difference in memory usage. First, a .PNG file is compressed format, and the image is reconstituted in RAM in uncompressed form. Second, GIMP uses extra memory, and copies of the image, for use by the Undo command.

10. Cancel Button: During complex time-consuming operations, usually a plug-in, a Cancel button temporarily appears in the lower right corner of the window. Use the Cancel button to stop the operation.

    | Notera
    A few plug-ins respond badly to being canceled, sometimes leaving corrupted pieces of images behind.

11. Navigation Control: This is a small cross-shaped button at the lower right corner of the image display. Click and hold (do not release the mouse button) on the navigation control to display the Navigation Preview. The Navigation Preview has a miniature view of the image with the displayed area outlined. Use the Navigation Preview to quickly pan to a different part of the image—move the mouse while keeping the button pressed. The Navigation Window is often the most convenient way to quickly navigate around a large image with only a small portion displayed. (See Navigation Dialog for other ways to access the Navigation Window). (If your mouse has a middle-button, click-drag with it to pan across the image).

12. Inactive Padding Area: When the image dimensions are smaller than the image window, this padding area separates the active image display and the inactive padding area, so you're able to distinguish between them. You cannot apply any Filters or Operations in general to the inactive area.

13. Image Display: The most important part of the image window is, of course, the image display or canvas. It occupies the central area of the window, surrounded by a yellow dotted line showing the image boundary, against a neutral gray background. You can change the zoom level of the image display in a variety of ways, including the Zoom setting described below.

14. Image Window Resize Toggle: Without enabling this feature, if you change the size of the image window by click-and-dragging border limits, the image size and zoom does not change. If you make the window larger, for example, then you will see more of the image. If this button is pressed, however, the image resizes when the window resizes so that (mostly) the same portion of the image is displayed before and after the window is resized.

| Tips
Drag and drop an image into the Toolbox window from a file browser to open the image in its own Image window or tab. Dragging an image file into the Layer dialog adds it to the image as a new layer.

Image size and image window size can be different. You can make image fit window, and vice versa, using two keyboard shortcuts:

- Ctrl+J: this command keeps the zoom level; it adapts window size to image size. The Shrink Wrap command does the same.

- Ctrl+Shift+J: this command modifies the zoom level to adapt the image display to the window.

[1] Användare med en Apple Macintosh och en mus med endast en knapp kan använda Ctrl+musknapp istället.

2. Huvudfönster |  | 2.3. Dialoger och dockning

Report an error in Bugzilla