4.8. 透视

图 14.139. Perspective tool

Perspective tool

The Perspective Tool is used to change the perspective of the active layer content, of a selection content or of a path. When you click on the image, according to the Preview type you have selected, a rectangular frame or a grid pops up around the selection (or around the whole layer if there is no selection), with a handle on each of the four corners. By moving these handles by click-and-drag, you can modify the perspective. At the same time, a Transformation information pops up, which lets you valid the transformation. At the center of the element, a circle lets you move the element by click-and-drag.

[注意] 注意

This tool is not actually a perspective tool, as it doesn't impose perspective rules. It is better described as a distort tool.

4.8.1. Activating the Tool

You can access the Perspective tool in different ways:

  • From the image menu bar Tools/ Transform Tools Perspective,

  • By clicking the tool icon: in Toolbox,

  • By using the Shift+P key combination.

4.8.2. 选项

图 14.140. Perspective tool options

Perspective tool options

Normally, tool options are displayed in a window attached under the Toolbox as soon as you activate a tool. If they are not, you can access them from the image menu bar through WindowsDockable WindowsTool Options which opens the option window of the selected tool.

Transform; Interpolation; Direction; Clipping; Show image preview; Guides
[注意] 注意

These options are described in Transform tools common options.

Constrain handles (Shift)

Constrain handles to move along edges and diagonal.

Around center (Ctrl)

Transform around the center point.

4.8.3. The Shear adjustment dialog

图 14.141.  The Shear adjustment dialog

The Shear adjustment dialog

矩阵

The information window shows a mathematical representation of the perspective transformation. You can find more information about transformation matrices on Wikipedia.

Readjust button

With this button, new in GIMP-2.10.10, you can readjust transform handles based on the current zoom level.