Con el comando “ojo”). Este grado de precisión es muy útil cuando trabaja con animaciones, que normalmente tienen muchas capas pequeñas. Al pulsar sobre se muestra un diálogo que le permite elegir cómo se alinearán las capas.
, puede posicionar de una manera precisa las capas visibles (aquellas marcadas con el iconoYou can access this command from the main menu through
→ . There is no default keyboard shortcut. If the image holds a single layer only, you get a message from GIMP telling that there must be more than one layer in the image to execute the command.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)
The Layer Boundary Size. You can also use a command such as Crop Layers to Content to automatically adjust a layer's boundary.
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
![]() |
Nota |
---|---|
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. |
Estas opciones controlan como se deberán mover las capas en relación con las otras. Puede elegir:
Ninguna: no habrá cambios en las posiciones horizontal o vertical, respectivamente.
Recolectar: Las capas visibles se alinearán sobre el lienzo, de la manera que se determina en las opciones Base horizontal y Base vertical base. Si selecciona una Base horizontal del Borde derecho, las capas podrían desaparecer del lienzo. Puede recuperarlas agrandando el lienzo. Si marca la opción Usar la capa inferior (invisible) como base, las capas se alinearán en la esquina superior izquierda de la capa inferior.
Figura 16.78. Example Use of Collect: Layers Aligned to Left Edge of the Canvas
Imagen original
Horizontal style: Collect , Horizontal base: Left edge.
Las capas se han movido horizontalmente para que los bordes izquierdos se alineen con el borde izquierdo del lienzo.
Figura 16.79. Example Use of Collect: Layers Aligned to Left Edge of the Bottom Layer
Imagen original
Same parameters as the previous example, but with the Use the (invisible) bottom layer as the base checkbox checked.
Las capas se han movido horizontalmente para que los bordes izquierdos se alineen con el borde izquierdo de la capa del fondo.
Rellenar (de izquierda a derecha); Rellenar (de arriba a abajo): Las capas visibles se alinearán con el lienzo según los bordes que seleccione en Base horizontal o Base vertical, respectivamente. Las capas se ordenan regularmente, para que no se solapen. La capa superior en la pila se sitúa en la posición más a la izquierda (o más alta) en la imagen. La capa inferior en la pila se sitúa en la posición más a la derecha (o más baja) en la imagen. Las otras capas se sitúan regularmente entre estas dos posiciones. Si marca la opción Usar la capa inferior (invisible) como base , las capas se alinearán con el borde correspondiente de la capa inferior.
Figura 16.80. Example Use of Fill: Layers Filled Left to Right
Imagen original
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.
Figura 16.81. Example Use of Fill: Layers Filled Left to Right With the Bottom Layer as the Base
Imagen original
Same parameters as the previous example, but with the Use the (invisible) bottom layer as the base checkbox checked.
Rellenar (de derecha a izquierda); Rellenar (de abajo a arriba): Esta configuración funciona de manera similar a las descritas antes, pero se rellena en la dirección opuesta.
Figura 16.82. Example Use of Fill: Layers Filled Bottom to Top With the Bottom Layer as the Base
Imagen original
Vertical style: Fill (bottom to top), Vertical base : Top edge, Use the (invisible) bottom layer as the base: checked.
Debe haber al menos tres capas visibles en la imagen para usar las opciones “Rellenar”.
Snap to grid: The visible layers will be aligned with a grid. Use the Grid setting to define the spacing of the grid. The base that you select will be aligned with its closest grid line. For example, if you select Left edge from the Horizontal base list, the left edge of each layer will be aligned with the grid line that is closest to the layer's left edge.
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.
Figura 16.83. Example Use of Snap to Grid: Layers Aligned to Top Left Corner of Grid Squares
Original image with an added 30 pixel image grid
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.
If you choose the Snap to grid option from either the Horizontal style or Vertical style lists, the Grid setting defines the spacing of the grid to which layers are aligned.