4.6. Skalering

4.6.1. Oversyn

The Scale Tool can be used to scale a layer, selection, path or image, depending on the Transform setting.

When you click on your image with the Scale tool, the Scale dialog is opened, allowing to change the Width and Height. When the chain icon is closed, adjustments to one, will adjust the other value the same percentage. If you do not want this, click the chain icon to disable the synchronization. The default size is in pixels, which can be changed in the measurement drop-down list besides the chain icon.

At the same time a Preview (unless disabled in the Tool Options) is superimposed on the object and handles appear on the corners and borders that you can click and drag to change the dimensions. At the center, a square with a cross inside can be used to move the preview.

4.6.2. Aktivering

Du kan aktivera verktøyet på fleire måtar:

  • From the main menu: ToolsTransform ToolsScale.

  • By clicking the tool icon in the Toolbox.

  • By pressing the Shift+S keyboard shortcut.

4.6.3. Valtastane (normalinnstillinga)

Shift

Holding the Shift key down will toggle the Keep aspect option.

Ctrl

Holding the Ctrl key down will toggle the Around center option.

4.6.4. Verktøyinnstillingar

Figur 14.105. Innstillingane for «Skalering»

Innstillingane for «Skalering»

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 main menu through WindowsDockable WindowsTool Options which opens the option window of the selected tool.

Transform; Interpolation; Direction; Clipping; Show image preview; Guides
[Notat] Notat

Transformasjonen verkar berre på det aktive laget. Ønskjer du å skalere alle laga, bruker du skaler biletet i staden.

To scale a path, please refer to Transforming path.

Keep aspect (Shift)

Dersom denne funksjonen er aktivert, vil forholdet mellom breidde og høgde heile tida vere det same som i det opphavlege laget eller utvalet når du flyttar på eit hjørne. Funksjonen verkar ikkje på sidehandtaka. Legg merke til at funksjonen også påverkar lenkjinga mellom høgde og breidde i dialogvindauget.

Around center (Ctrl)

When this option is enabled, you can scale from center, radially if «Keep aspect» is checked, else vertically or horizontally.

4.6.5. The Scale adjustment dialog

Figur 14.106. The Scale adjustment dialog

The Scale adjustment dialog

Breidde/Høgde

Viser gjeldande breidde og høgde for skaleringa. Du kan skrive nye tal i rutene for å forandre skaleringa. Den vanlege måleeininga er pikslar, men dette kan du forandre i nedtrekkslista. Dersom lenka til høgre for rutene er broten, kan du skrive inn breidde og høgde uavhengig av kvarandre.

Readjust button

With this button, available since GIMP 2.10.10, you can reset the transform handles back to the original square shape, while keeping the current transformation and zoom level. This enables you to create more complex transformations by making the transformation in several steps.