4. Diálogos relacionados a gerenciamento de imagens

4.1. Diálogo de buffers

Figura 15.69. O diálogo de buffers, como uma lista

O diálogo de buffers, como uma lista

Buffers are a kind of temporary storage for image data, created when you cut or copy part of a drawable (a layer, layer mask, etc.). The following commands are available from the Edit menu to save an image to a buffer:

Cut Named...

EditBufferCut Named... This command cuts the selected part from the current drawable (usually a layer) and places it in a buffer. If there is no selection the whole drawable will be used. You will be asked to give the buffer a name. The image will be removed from the selection after this is done.

Copy Named...

EditBufferCopy Named... This command copies the selected part from the current drawable (usually a layer) and places it in a buffer. If there is no selection the whole drawable will be used. You will be asked to give the buffer a name.

Copy Visible Named...

EditBufferCopy Visible Named... This command copies the selected part from all the visible drawables and places it in a buffer. If there is no selection the whole image will be used. You will be asked to give the buffer a name.

Paste Named...

EditBufferPaste Named... This menu command opens the Buffers Dialog. To actually paste a buffer, choose one of the buttons from this dialog, or the context menu. Both of which will be explained below.

The Buffers dialog shows you the contents of all existing named buffers, and allows you to operate on them in several ways. It also shows you, at the top, the contents of the Global Buffer (the contents of the clipboard). This Global Buffer is merely a display: you can't do anything with it. There is no hard limit on the number of named buffers you can create, except that it will consume a share of your available computer memory.

[Cuidado] Cuidado

Named buffers are not saved across sessions: they will be gone when you close GIMP. The only way to save their contents is to paste them into images.

4.1.1. Ativando o diálogo

O diálogo de Buffers é um diálogo de encaixe;veja a seção Seção 2.3, “Caixas de diálogo e de encaixe” para mais informações sobre como gerenciá-lo.

Você pode acessa-lo:

  • from the main menu: EditBufferPaste Named...;

  • from the main menu: WindowsDockable DialogsBuffers;

  • Do menu de guias de qualquer diálogo de encaixe, clicando em e selecionando Adicionar abaBuffers.

No menu de Janelas, há uma lista de janelas independentes que existe se pelo menos um diálogo estiver aberto, sem estar acoplado à janela principal do GIMP no modo de janela única.Nesse caso, se já houver um diálogo de Buffersaberto, você pode traze-lo para cima das outras janelas clicando diretamente em JanelasBuffers.

4.1.2. Usando o diálogo de buffers

Clicking on a buffer in the display area makes it the active buffer, i.e., the one that will be used for paste commands executed from the Buffers context menu, or the buttons at the bottom of the dialog. Double-clicking on a buffer causes its contents to be pasted to the active image as a floating selection; this is a quick way of executing the Paste Buffer command.

At the bottom of the dialog are five buttons. The operations they perform can also be accessed from the Buffers Menu that you get by right clicking on the active buffer.

Figura 15.70. O diálogo de Buffers (visão em grade)

O diálogo de Buffers (visão em grade)

No menu de Guia para o diálogo de Buffers, você pode escolher entre Ver como gradee Ver como lista. No modode grade, as miniaturas dos buffers aparecem em um arranjo regularde ícones. Apenas o nome do buffer selecionado é exibido. No modo de Lista, eles são alinhados um abaixo do outro,e o nome e tamanho em pixels de cada buffer são exibidos.

[Dica] Dica

Ctrl+F abre uma caixa para pesquisas por nome. Para maiores informações sobre o modo de lista, veja Visualizar como lista; Visualizar como grade.

Você pode alterar o tamanho das pré-visualizações dos buffers, usando o submenu Tamanho da pré-visualização no menu de guia do diálogo.

4.1.2.1. Botões na parte de baixo

Na parte de baixo deste diálogo, você vai encontrar alguns botões:

Colar buffer, Paste Buffer In Place

Este comando cola o conteúdo do buffer selecionado na imagem ativa, como uma seleção flutuante. A única diferença entre esse comando e o Colar normal é que ele usa o buffer selecionado em vez do buffer global da área de transferência.

With the Shift key pressed, it pastes the buffer at its original location.

Paste Buffer Into The Selection, Paste Buffer Into The Selection In Place

This command pastes the contents of the selected buffer into the active image's selection, as a floating selection. The only difference between this and the ordinary Paste Into Selection command is that it uses the selected buffer rather than the global clipboard buffer.

With the Shift key pressed, it pastes the buffer into the active selection at its original location.

Paste Buffer as New Layer, Paste Buffer as New Layer in Place

This command creates a new layer in the active image out of the contents of the selected buffer. The only difference between this and the ordinary Paste as New Image command is that it uses the selected buffer rather than the content of the global clipboard buffer.

With the Shift key pressed, it creates the layer at the original location of the buffer.

Paste Buffer as New Image

This command creates a new single-layer image out of the contents of the selected buffer. The only difference between this and the ordinary Paste as New Image command is that it uses the selected buffer rather than the content of the global clipboard buffer.

Remover buffer

Este comando apaga o buffer selecionado, sem perguntar nada. Você não pode apagar o Buffer global.

4.1.2.2. Buffers Dialog Context menu

Figura 15.71. O menu de contexto de Buffers

O menu de contexto de “Buffers”

These commands are the same as available through the buttons at the bottom of the dialog and are explained there.