4. Dialogar relaterte til bilethandteringa

4.1. Bufferdialogen

Figur 15.69. Bufferdialogen (som liste)

Bufferdialogen (som liste)

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.

[Obs] Obs

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. Aktivering

Dette er ein dialog som kan limast inn i andre dialogvindauge. Sjå nærare om dette i Del 2.3, «Dialogar og samlevindauge («dokker»)».

Du har tilgang til dialogvindauget

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

  • from the main menu: WindowsDockable DialogsBuffers;

  • eller frå fanemenyen ein annan dialogmeny ved å klikke på fanen og velje Legg til faneBuffera

Dersom minst eitt dialogvindauge er ope, kan du i menyen Vindauge finne ei liste over løyste vindauge. Du kan i tilfelle løfte banedialogen frå biletmenyen: VindaugeBuffer.

4.1.2. Å bruke bufferdialogen

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.

Figur 15.70. Bufferdialogen (tabellform)

Bufferdialogen (tabellform)

Frå fanemenyen i bufferdialogen kan du velje mellom to ulike visingsformer: Vis som tabell, som viser bufferen i nettopp tabellfor, og Vis som liste, som viser bufferane linje for linje der kvar linje viser ei førehandsvising av bufferinnhaldet, namnet og storleik i pikslar. Sjå i Del 2.3, «Dialogar og samlevindauge («dokker»)» korleis du kan tilpassa førehandsvisinga.

[Tips] Tips

Tastekombinasjonen Ctrl + F opnar ei søkefil. Sjå Vis som liste/tabell

Du kan endra storleiken på førehandsvisinga av bufferen i dialogvindauget ved hjelp av undermenyen «storleik på førehandsvisinga» i fanemenyen.

4.1.2.1. Knappane nedst

Nedst i dialogvindauget finn du fire knappar:

Lim inn buffer, Paste Buffer In Place

Denne vil lime den aktive bufferen inn i det aktive biletet som eit flytande utval på same måte som når du bruker den vanlege Lim inn kommandoen.

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.

Slett bufferen

Denne knappen slettar den aktive bufferen utan varsling. Du kan likevel ikkje sletta den globale bufferen.

4.1.2.2. Buffers Dialog Context menu

Figur 15.71. Lokalmenyen for dialogen «Buffer»

Lokalmenyen for dialogen «Buffer»

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