4.6. Échelle

4.6.1. Généralités

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. Accès à l’outil

Il existe plusieurs possibilités pour accéder à l’outil :

  • From the main menu: ToolsTransform ToolsScale.

  • By clicking the tool icon in the Toolbox.

  • By pressing the Shift+S keyboard shortcut.

4.6.3. Touches de contrôle (Par défaut)

Shift

L’appui sur la touche Maj basculera l’option Conserver le rapport.

Ctrl

L’appui sur la touche Ctrl basculera l’option Autour du centre.

4.6.4. Options

Figure 14.105. Les options de l’outil Mise à l’échelle

Les options de l’outil Mise à l’échelle

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.

Transformer, Interpolation, Direction, Rognage, Afficher l’aperçu d’image, Guides
[Note] Note

Ces options sont décrites dans Options communes des outils de transformation.

[Note] Note

Le mode Transformer ne travaille que sur le calque actif. Pour agir sur l’ensemble des calques de l’image, utilisez Échelle et Taille de l’image .

Pour mettre à l’échelle un chemin, reportez-vous à Transformation d’un chemin.

Conserver le rapport (Maj)

Lors du déplacement d’une poignée de coin, cette option maintient constant le rapport entre la hauteur et la largeur. Notez qu’elle n’agit pas si on déplace un côté du cadre de sélection. Notez aussi qu’elle modifie la chaîne de liaison dans la boîte de dialogue.

Autour du centre (Ctrl)

Si cette option est cochée, il est possible de mettre à l’échelle à partir du centre de façon radiale, si « Conserver le rapport » est cochée, sinon verticalement ou horizontalement.

4.6.5. La boîte de dialogue d’ajustement de Mise à l’échelle

Figure 14.106. La boîte de dialogue d’ajustement de Mise à l’échelle

La boîte de dialogue d’ajustement de Mise à l’échelle

Hauteur/Largeur

Vous pouvez régler ici la hauteur et la largeur que vous voulez donner à l’objet. L’unité de mesure par défaut est le pixel, mais vous pouvez en changer grâce à la liste déroulante attenante. Ces valeurs sont aussi modifiées automatiquement quand vous déplacez les poignées dans l’image. Si la chaîne de liaison associée est rompue, vous pouvez modifier Hauteur et Largeur séparément.

Bouton Réajuster

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.