6.30. Zichtbare lagen uitlijnen…

Met de opdracht Zichtbare lagen uitlijnen kunt u de zichtbare lagen (die gemarkeerd met het pictogram oog) zeer nauwkeurig positioneren. Deze mate van precisie is vooral handig wanneer u aan animaties werkt, die doorgaans veel kleine lagen hebben. Als u op Zichtbare lagen uitlijnen klikt, wordt een dialoogvenster weergegeven waarin u kunt kiezen hoe de lagen moeten worden uitgelijnd.

6.30.1. De opdracht uitvoeren

  • U kunt deze opdracht uitvoeren vanuit het hoofdmenu met AfbeeldingZichtbare lagen uitlijnen…, Er is geen standaard sneltoets. Als de laag slechts een laag bevat, krijgt u een bericht van GIMP dat u zegt dat er meer dan een laag in de afbeelding moet zijn om de opdracht uit te kunnen voeren.

6.30.2. Example Image for Layer Alignment

The examples in the Description of the “Align Visible Layers” dialog section all use the same starting image. The image contains four layers. The order of those layers from top to bottom is as follows:

  • Green, vertical rectangle (top layer)

  • Yellow, horizontal rectangle

  • Red, small square

  • Blue, larger square (bottom layer)

Afbeelding 16.76. Example Image for Layer Alignment

Example Image for Layer Alignment

The Align Visible Layers command aligns layers based on their boundaries. In the example image, each layer's boundary is adjusted to match the perimeter of the shape in that layer. For information about how to adjust a layer's boundary, see Layer Boundary Size. You can also use a command such as Crop Layers to Content to automatically adjust a layer's boundary.

[Opmerking] Opmerking

In the examples, the Ignore the bottom layer even if visible checkbox is left checked. The bottom layer, which is the larger blue square, is then not affected by any of the alignment operations.

6.30.3. Beschrijving van het dialoogvenster Zichtbare lagen uitlijnen

Afbeelding 16.77. Het dialoogvenster Zichtbare lagen uitlijnen

Het dialoogvenster “Zichtbare lagen uitlijnen”

Horizontale stijl, Verticale stijl

Deze opties bepalen hoe de lagen ten opzichte van elkaar verplaatst moeten worden. U kunt kiezen tussen:

  • Geen: Er zal geen verandering zijn in respectievelijk de horizontale of verticale positie.

  • Verzamelen: de zichtbare lagen worden uitgelijnd op het canvas, op de manier die wordt bepaald door de opties Horizontale basis en Verticale basis. Als u een Horizontale basis van Rechterrand selecteert, kunnen lagen van het canvas verdwijnen. U kunt ze herstellen door het canvas te vergroten. Als u de optie Gebruik de (onzichtbare) onderste laag als basis aanvinkt, worden de lagen uitgelijnd in de linkerbovenhoek van de onderste laag.

    Afbeelding 16.78. Example Use of Collect: Layers Aligned to Left Edge of the Canvas

    Example Use of Collect: Layers Aligned to Left Edge of the Canvas

    Originele afbeelding

    Example Use of Collect: Layers Aligned to Left Edge of the Canvas

    Horizontal style: Collect , Horizontal base: Left edge.

    De lagen zijn horizontaal verplaatst, zodat hun linker randen zijn uitgelijnd met de linker rand van het canvas.


    Afbeelding 16.79. Example Use of Collect: Layers Aligned to Left Edge of the Bottom Layer

    Example Use of Collect: Layers Aligned to Left Edge of the Bottom Layer

    Originele afbeelding

    Example Use of Collect: Layers Aligned to Left Edge of the Bottom Layer

    Same parameters as the previous example, but with the Use the (invisible) bottom layer as the base checkbox checked.

    De lagen zijn horizontaal verplaatst zodat hun linker randen uitgelijnd zijn met de linker rand van de onderste laag.


  • Vul (van links naar rechts); Vulling (van boven naar beneden): de zichtbare lagen worden uitgelijnd op het canvas volgens de rand, die u hebt geselecteerd met respectievelijk Horizontale basis of Verticale basis. De lagen zijn regelmatig geschikt, zodat ze elkaar niet overlappen. De bovenste laag in de stapel wordt op de meest linker (of bovenste) positie in de afbeelding geplaatst. De onderste laag in de stapel wordt op de meest rechter (of onderste) positie van de afbeelding geplaatst. De andere lagen worden regelmatig tussen deze twee posities geplaatst. Als de optie Gebruik de (onzichtbare) onderste laag als basis is geselecteerd, worden de lagen uitgelijnd met de corresponderende rand van de onderste laag.

    Afbeelding 16.80. Example Use of Fill: Layers Filled Left to Right

    Example Use of Fill: Layers Filled Left to Right

    Originele afbeelding

    Example Use of Fill: Layers Filled Left to Right

    Horizontal style: Fill (left to right), Horizontal base : Left edge.

    The top layer in the stack, the green one, is placed all the way on the left. The bottom layer in the stack, the red one, is placed is on the right and the yellow layer is between the other two.


    Afbeelding 16.81. Example Use of Fill: Layers Filled Left to Right With the Bottom Layer as the Base

    Example Use of Fill: Layers Filled Left to Right With the Bottom Layer as the Base

    Originele afbeelding

    Example Use of Fill: Layers Filled Left to Right With the Bottom Layer as the Base

    Same parameters as the previous example, but with the Use the (invisible) bottom layer as the base checkbox checked.


  • Vullen (rechts naar links); Vullen (onder naar boven): deze instellingen werken op dezelfde manier als hierboven beschreven, maar het vullen gebeurt in de tegenovergestelde richting.

    Afbeelding 16.82. Example Use of Fill: Layers Filled Bottom to Top With the Bottom Layer as the Base

    Example Use of Fill: Layers Filled Bottom to Top With the Bottom Layer as the Base

    Originele afbeelding

    Example Use of Fill: Layers Filled Bottom to Top With the Bottom Layer as the Base

    Vertical style: Fill (bottom to top), Vertical base : Top edge, Use the (invisible) bottom layer as the base: checked.


    Er moeten ten minste drie zichtbare lagen in de afbeelding zijn om de opties voor Vullen te kunnen gebruiken.

  • Magnetisch raster: De zichtbare lagen zullen worden uitgelijnd op een raster. Gebruik de instelling Raster om de afstand van het raster te definiëren. De basis die u selecteert zal worden uitgelijnd met de dichtstbijzijnde rasterlijn. Als u bijvoorbeeld selecteert Linker rand uit de lijst Horizontale basis, zal de linker rand van elke laag worden uitgelijnd met de rasterlijn die het dichtst bij de linker rand van de laag ligt.

    In the following example, the image grid is turned on and its spacing set to the same value as the Grid setting. This is only to help demonstrate the effect of the Snap to grid option. You don't need to turn on the image grid and none of its settings are used when you align layers.

    Afbeelding 16.83. Example Use of Snap to Grid: Layers Aligned to Top Left Corner of Grid Squares

    Example Use of Snap to Grid: Layers Aligned to Top Left Corner of Grid Squares

    Original image with an added 30 pixel image grid

    Example Use of Snap to Grid: Layers Aligned to Top Left Corner of Grid Squares

    Horizontal style: Snap to grid, Horizontal base: Left edge, Vertical style : Snap to grid, Vertical base: Top edge , Grid: 30

    Each layer other than the base is aligned with the top left corner of a 30 by 30 pixel grid square.


Raster

Als u de optie Magnetisch raster kiest uit ofwel de lijst Horizontale stijl of de lijst Verticale stijl, definieert de instelling Raster de tussenruimte voor het raster waarmee de lagen worden uitgelijnd.