Capítulo 14. Ferramentas

Índice

1. A Caixa de ferramentas
1.1. Introdução
1.2. Ícones das ferramentas
1.3. Área de indicações e cores
1.4. Opções da ferramenta
2. Ferramentas de seleção
2.1. Características comuns
2.2. Seleção Retangular
2.3. Seleção elíptica
2.4. Seleção Livre (Laço)
2.5. Seleção de frente
2.6. Fuzzy Selection (Magic wand)
2.7. Seleção Por Cor
2.8. Tesouras Inteligentes
3. Ferramentas de pintura
3.1. Características em comum
3.2. Dinâmicas
3.3. Ferramentas de pincel (lápis, pincel, aerógrafo)
3.4. Preenchimento com balde
3.5. Degradê
3.6. Lápis
3.7. Pincel
3.8. Borracha
3.9. Aerógrafo
3.10. Tinta
3.11. MyPaint Brush
3.12. Clonagem
3.13. Restaurar
3.14. Clonagem em perspectiva
3.15. Desfocar/Deixar nítido
3.16. Borrar
3.17. Sub/Super-exposição
4. Ferramentas de transformação
4.1. Funcionalidades em comum
4.2. Align and Distribute
4.3. Mover
4.4. Cortar
4.5. Rotacionar
4.6. Redimensionar
4.7. Inclinar
4.8. Perspectiva
4.9. 3D Transform
4.10. Unified Transform
4.11. Handle Transform
4.12. Espelhar
4.13. Cage Transform
4.14. Warp Transform
5. Other Tools
5.1. Visão-geral
5.2. Vetores
5.3. Texto
5.4. Seletor de cores
5.5. Medidas
5.6. Zoom

1. A Caixa de ferramentas

1.1. Introdução

O GIMP provê uma caixa de ferramentas que tenta ser completa, de forma a permitir completar rapidamente várias tarefas básicas, tais como criar seleções ou desenhar vetores. As várias ferramentas contidas na Caixa de ferramentas do GIMP são discutidas em detalhes aqui.

(No caso de você estar curioso, na linguagem do GIMP, uma ferramenta é um meio de interagir com uma imagem que requer acesso à tela, ou seja, ou que permita que você indique o que você deseja fazer movendo e clicando o ponteiro do mouse na imagem, ou para mostrar interativamente os resultados de mudanças realizadas. Porém, se você quiser pensar nas ferramentas como uma serra, e na imagem como um tronco de madeira, não vai lhe fazer muito mal.)

[Nota] Nota

Veja mais em Janela principal: A caixa de ferramentas para ver uma visão-geral da caixa de ferramentas e dos seus componentes.

GIMP has a diverse assortment of tools that let you perform a large variety of tasks. The tools can be thought of as falling into the following categories:

  • Ferramentas de seleção, que definem ou modificam uma parte da imagem que será afetada pelas próximas ações;

  • Ferramentas de pintura, que inserem cores e desenhos em partes da imagem;

  • Ferramentas de transformação, que alteram a geometria da imagem;

  • Color tools, which alter the colors in the image as a whole;

  • Other tools, which don't fall into the other categories.

1.2. Ícones das ferramentas

With GIMP-2.10.18, tool icons can be grouped, and this option is enabled by default. Tools groups are marked with a small dark triangle at the bottom right corner of the icon. The group icon displayed is the first icon in the group. Right click on the group icon to display the list of tools in the group.

You can get the former display back unchecking the Use tool groups option in Seção 6.13, “Caixa de ferramentas”.

Figura 14.1. Os ícones das ferramentas na caixa de ferramentas

Os ícones das ferramentas na caixa de ferramentas

Use tool groups option unchecked. The default order of tools in the toolbox is different since GIMP-2.10.8; you can customize it in the Toolbox Preferences.


Most tools can be activated by clicking on an icon in the Toolbox. By default, some tools are accessible only via the menus. Every tool can be activated from the Tools menu (or the Colors menu for some color tools). Most tools can also be activated from the keyboard using an accelerator key.

In the default setup, created when GIMP is first installed, not all tools show icons in the Toolbox: some tools are omitted. You can customize the set of tools that are shown in the Toolbox in the Toolbox Preferences.

There are two reasons you might want to do this: first, if you only rarely use a tool, it might be easier to find the tools you want if the distracting icon is removed; second, if you use tools that are not found in the toolbox by default, you might find it convenient to have icons for them easily available. In any case, you can always access any tool at any time using the Tools or Colors menu from the main menu.

A forma do cursor muda quando está dentro de uma imagem, para uma que indica qual ferramenta está ativa (isso se no menu Preferencias você estiver selecionada a opção Janelas de ImagemCursores de mouseModo do cursorÍcone da ferramenta).

1.3. Área de indicações e cores

Figura 14.2. Área de indicadores e cores na caixa de ferramentas

Área de indicadores e cores na caixa de ferramentas

By default, only the Foreground/Background Colors area is visible. You can add the Brush/Pattern/Gradient area and Active Image area through EditPreferencesToolbox: Seção 6.13, “Caixa de ferramentas”.

1.3.1. Foreground/Background Colors Area

Figura 14.3. Foreground/Background Colors Area in the Toolbox

Foreground/Background Colors Area in the Toolbox

Área de cores

The color area shows GIMP's current foreground and background colors, which are used for painting, filling, and many other operations. Clicking on either one of them brings up a color selector dialog that allows you to change to a different color.

Cores padrão

Clicking on the small symbol in the lower left corner resets the foreground and background colors to black and white. Pressing the D key has the same effect.

Swap Foreground/Background colors

Clicking on the double-headed arrow symbol swaps the foreground and background colors. Pressing the X key has the same effect.

[Dica] Dica

Você pode clicar e arrastar uma dessas cores diretamente para uma camada: isso fará com que a camada seja preenchida inteiramente com essa cor.

1.3.2. Brush/Pattern/Gradient Area

Figura 14.4. Active Brush, Pattern and Gradient Area in the Toolbox

Active Brush, Pattern and Gradient Area in the Toolbox

Essa parte da caixa de ferramentas mostra o pincel, textura e degradê que estão selecionados no momento. Clicar em qualquer uma das três fará abrir uma janela em que você poderá mudá-las. Esta área não é visível por padrão, mas pode ser configurada no diálogo de Preferências/Caixa de ferramentas.

1.3.3. Área da imagem ativa

Figura 14.5. Active Image Area in the Toolbox

Active Image Area in the Toolbox

A thumbnail of the active image is displayed in this area. If you click on this thumbnail, the Images dialog is opened. This can be useful if you have many images on your screen.

If you use GIMP on a Unix-like operating system with the X Window System, you can also drag and drop the thumbnail to an enabled XDS file manager to directly save the corresponding image.

1.4. Opções da ferramenta

Figura 14.6. Caixa de opções da ferramenta

Caixa de opções da ferramenta

A janela de opções da ferramenta aerógrafo.


Se seu programa estiver configurado como o da maioria das pessoas, então ao ativar uma ferramenta a janela de opções da ferramenta irá aparecer abaixo da caixa de ferramentas. Se o seu programa não estiver configurado dessa forma, pelo menos deveria: é muito difícil usar as ferramentas de forma eficiente sem estar apto a alterar as suas opções. De qualquer forma, um clique-duplo no ícone de qualquer ferramenta faz a caixa de opções da ferramenta se tornar visível se estiver escondida.

[Dica] Dica

As opções de ferramenta aparecem em baixo da caixa de ferramentas por padrão. Se isso, por algum motivo, não for o caso do seu programa, então você pode corrigir isso criando uma nova janela de opções da ferramenta através do menu JanelasDiálogos de encaixeOpções de ferramentas e então encaixando-a abaixo da caixa de ferramentas. Consulte a seção Diálogos e encaixes se você precisar de ajuda.

Cada ferramenta tem a suas próprias opções. As escolhas que você faz nas ferramentas serão mantidas durante a sessão, até que você as altere novamente. Na verdade, as opções de ferramentas são mantidas de sessão em sessão. A persistência de uma opção de ferramenta entre os usos do programa as vezes pode causar alguma irritação: uma ferramenta se comporta de uma maneira estranha, e você não consegue imaginar o porquê, já que você não se lembra que você ativou alguma opção incomum na última vez que você a usou, há duas semanas atrás.

Na parte inferior da janela de opções de ferramentas, existem quatro botões:

Save Tool Preset…

This button allows you to save the settings for the current tool, so that you can restore them later. It brings up the Seção 7.1, “Diálogo de Definições de ferramentas” allowing you to give a name for the new preset. When you Restore options, only saved presets for the active tool are shown, so you need not worry about including the name of the tool when you assign a name here.

Restore Tool Preset…

This button allows you to restore a previously saved preset of options for the active tool. If no presets have ever been saved for the active tool, the button will be disabled. Otherwise, clicking it will bring up a menu showing the names of all saved option sets: choosing a menu entry will apply those settings.

Delete Tool Preset

Este botão permite que você remova um conjunto de opções previamente salvo para a ferramenta ativa no momento. Se nenhuma configuração foi salva anteriormente para a ferramenta ativa, então o botão ira exibir o nome da ferramenta. Caso contrário, clicar sobre o botão irá mostrar um menu com os nomes de configurações salvas: a configuração selecionada será removida.

Reset to default values

This button resets the options for the active tool to their default values. If you hold the Shift key while pressing the Reset button, the options for all tools will be reset to their default values.

In addition to the commands for the above buttons, the Tool Options tab menu has an extra submenu:

Edit Tool Preset

This submenu shows a list of presets for the active tool that you can edit. Selecting one of them will open the Tool Presets Editor with that tool preset loaded. From there you can edit the preset, unless it is one of the default presets that come with GIMP.

Below we will explain the interaction with sliders and the mouse scroll-wheel.

Novos controles deslizantes

Option sliders have changed with GIMP-2.10.18: Sliders typically used in GEGL-based filters and tools’ options now have a compact style by default: they take a lot less space vertically and have a vastly improved behavior. You can use multiple modifiers with either left-click or mouse wheel scrolling:

Tabela 14.1. Interaction with the Slider Widget

Mouse / key combination

Action

Left-click

Change the value to what's under the pointer

Left-click-and-drag

Change the value using the default increment

Shift + Left-click-and-drag or Right-click-and-drag

Change the value using smaller increment

Ctrl + Left-click-and-drag

Change the value using larger increment

Middle-click

Enter numeric input mode, do not select the value

Right-click

Enter numeric input mode, select the value
Hint: Any left-click interaction enables numeric input mode.

Uma vez que você tenha ajustado aproximadamente o valor, você pode afiná-lo precisamente utilizando os dois pequenos botões de seta à direita do controle deslizante.

A área do valor na área deslizante trabalha como um editor de texto: lá você pode editar o valor ou inserir diretamente um novo valor.

For some options, you can drag the pointer outside the tool dialog. For example with the size slider, you can get the maximum value (10000) so.

Mouse Scroll-Wheel actions on canvas

When using tools, you can use the mouse scroll-wheel, in combination with various modifiers, to do useful things with the tool options of the selected tool:

  • Alt + Mouse-wheel:  increase/decrease opacity

  • Shift+Primary + Mouse-wheel:  increase/decrease aspect ratio

  • Shift+Alt + Mouse-wheel:  increase/decrease angle

  • Primary+Alt + Mouse-wheel:  increase/decrease size

  • Shift+Primary+Alt + Mouse-wheel:  increase/decrease spacing

Note: the Primary modifier is usually Ctrl or Cmd, depending on your platform.