2.2. 图像窗口

GIMP user interface is available in two modes: single-window mode (default), and multi-windows mode that you can get unchecking the WindowsSingle-Window Mode option.

当你在没有打开任何图像的情况下启动GIMP时,在单窗口模式下图像窗口似乎不存在;而在多窗口模式下,即使没有图像打开,图像窗口也存在。

我们将从对默认情况下出现在普通图像窗口中的组件的简要说明开始。可以使用视图菜单中的命令删除某些组件 。

图 3.5. 单窗口模式下的图像区域

单窗口模式下的图像区域

图 3.6. 多窗口模式下的图像窗口

多窗口模式下的图像窗口

[注意] 注意

尽管窗口模式,我们将图像窗口作为图像区域

  1. 标题栏:没有图像的图像窗口中的标题栏显示GNU图像处理程序。带有图像的图像窗口根据首选项对话框中的设置,在标题栏中显示图像名称及其规格。标题栏是由操作系统提供的,而不是由GIMP提供的,因此它的外观可能会因操作系统、窗口管理器和/或主题而异。

    如果您打开了一个非 xcf 图像,它会 以 .xc​​f 文件的形式(导入),并且其原始名称出现在图像窗口底部的状态栏中。

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

  2. Main Menu: Directly below the Title Bar appears the Menu bar (unless it has been suppressed). The Main 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 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 in the Keyboard Shortcuts Dialog.

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

  4. 标尺:在默认布局中,标尺显示在图像的上方和左侧。使用标尺确定图像内的坐标。标尺的默认单位是像素;使用下面描述的设置来使用像素以外的单位。

    标尺最重要的用途之一是创建参考线。单击标尺并将其拖到图像中以创建参考线。参考线是帮助您准确定位事物的线—或验证另一条线是否真正水平或垂直。使用移动工具,您可以单击并拖动参考线。将参考线拖出图像以将其删除;您始终可以将另一个参考线拖到图像中。您甚至可以同时使用多个参考线。

    在标尺区域,鼠标指针位置标有两个垂直和水平方向的小箭头。

  5. Quick Mask 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 Quick Mask for more details on this highly useful tool.

  6. 指针坐标:当指针(鼠标光标,如果您使用鼠标)在图像边界内时,窗口左下角的矩形区域显示当前指针坐标。单位与标尺相同。

  7. 单位菜单:使用单位菜单更改用于标尺和其他几个目的的单位。默认单位是像素,但您可以使用此菜单快速更改为英寸、厘米或其他几种可能。请注意,视图菜单中点对点的设置影响显示的缩放方式: 有关详细信息,请参阅点对点

  8. 缩放按钮:有多种方法可以放大或缩小图像,但缩放按钮可能是最简单的。您可以直接在文本框中输入缩放级别进行精确控制。

  9. 状态区:状态区位于图像窗口的底部。默认情况下,状态区显示 image.xcf 文件的原始名称以及图像使用的系统内存量。请使用编辑首选项图像窗口标题和状态来自定义状态区域中显示的信息。在耗时操作期间,状态区会临时显示正在运行的操作以及操作的完成情况。

    [注意] 注意

    Note that the memory used by the image is very different from the image file size. For instance, a 70 kB .PNG image may occupy 246 kB 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. 取消按钮:在复杂耗时的操作中,通常是插件,窗口右下角会临时出现一个取消按钮。使用取消按钮停止操作。

    [注意] 注意

    一些插件对被取消的响应很差,有时会留下损坏的图像片段。

  11. 导航控件:这是一个位于图像显示右下角的小十字形按钮。单击并按住(不要松开鼠标按钮)导航控件以显示导航预览。导航预览具有带有轮廓的显示区域的图像的缩微视图。使用导航预览快速平移到图像的不同部分—在按住按钮的同时移动鼠标。导航窗口通常是在仅显示一小部分的大图像周围快速导航的最便捷方式。(见导航对话框了解访问导航窗口的其他方式)。(如果您的鼠标有一个中键,用它点击并拖动以平移图像)。

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

  13. 图像显示:图像窗口最重要的部分当然是图像显示或画布。它占据窗口的中心区域,在中性灰色背景下,被一条显示图像边界的黄色虚线包围。您可以通过多种方式更改图像显示的缩放级别,包括下面描述的缩放设置。

  14. 图像窗口调整大小开关:在不启用此功能的情况下,如果您通过单击并拖动边框限制来更改图像窗口的大小,则图像大小和缩放不会改变。例如,如果您将窗口放大,那么您将看到更多的图像。但是,如果按下此按钮,则在调整窗口大小时图像会调整大小,以便(大部分)在调整窗口大小之前和之后显示图像的相同部分。

[提示] 提示

将图像从文件浏览器拖放到工具箱窗口中,以在其自己的图像窗口或选项卡中打开图像。

将图像文件拖到图层对话框中,将其作为新图层添加到图像中。

图像大小和图像窗口大小可以不同。您可以使用两个键盘快捷键使图像适合窗口,反之亦然:



[1] 使用 Apple Macintosh 和一键鼠标的用户可以使用 Ctrl+鼠标按键 代替。