7.53. Dimensione margini del livello
| 7. Il menu «Livello» |

### 7.53. Dimensione margini del livello

In GIMP, each layer has its own size that can be changed independently of the size of the image. This command changes the dimensions of a layer, but it does not scale its contents.

| Nota
By default, painting outside the borders of a layer is ignored. You can, however, enable the Expand Layers setting in the Paint Tool Options, which will automatically extend the size of the layer when painting near one of its borders up to the size of the canvas.

#### 7.53.1. Attivazione del comando

You can access this command

- From the main menu through Layer → Layer Boundary Size….

- From the Layers Dialog, you can access it through the Layer Boundary Size… command of its context menu.

#### 7.53.2. Descrizione della finestra di dialogo «Dimensione margini del livello»

Figura 16.120. La finestra di dialogo «Dimensione margini del livello»

Template

  This drop-down list allows you to pick a size from one of the available image templates. For more information on templates see Create a New Image or the Templates Dialog.

  When choosing a template that has a different print resolution (ppi) than your image, two new buttons will appear that ask you how to adjust this.

  Scale template to … ppi will adjust the template to the ppi of the image; and Scale image to … ppi will adjust the image to the ppi of the template.

Dimensione livello
  Width, Height

    When the dialog is displayed, the original dimensions of the active layer are shown. You can change them by using the two text boxes. If these boxes are linked together with a chain, the width-to-height ratio is automatically maintained. If you break the chain by clicking on it, you can set the dimensions independently of each other.

  Unit of Measurement

    L'unità di misura predefinita è in pixel. È possibile cambiarla usando l'apposito menu a tendina presente nella finestra. Per esempio spesso può risultare comodo usare la «%» della dimensione corrente.

Scostamento
  X, Y

    Queste coordinate sono relative al livello, non all'immagine. Sono usate per spostare un riquadro che determina le parti dei contenuti del livello che saranno selezionate per i livello ridimensionato. Nel nostro esempio, il livello e il contenuto hanno le stesse dimensioni, e, naturalmente, non ci sono riquadri da spostare. Se si riduce Larghezza e/o Altezza, il riquadro del livello ridimensionato apparirà nell'anteprima.

A Preview of the layer inside the frame of the canvas

  Besides the layer dimensions, a preview represents the layer with the frame of the resized layer. You can move this frame using the X and Y offsets and also dragging the cross-shaped cursor that appears when the mouse pointer moves over the layer area.

Center

  The Center button allows you to place the frame at the center of the layer.

Riempi con

  This allows you to select how to fill the background of the layer when you increase its size. The same options are available here as in the Create New Image Dialog.

#### 7.53.3. Ridimensionare livelli

Increasing the size of a layer

  You can't make the size of a layer larger than the image canvas.

  If the layer is smaller than the image, you can enlarge the Width and/or Height. If you want to enlarge the layer to the size of the image, it is easier to use Layers to Image Size.

Reducing the size of a layer

  If you want to remove unused parts of a layer, you can reduce the size.

  Figura 16.121. Esempio

  Immagine originale con due livelli

  I due livelli

  Figura 16.122. Esempio

  Il livello selezionato per il ridimensionamento

  The frame representing the new layer size. It has been placed at the center of the layer using the Center button.

  Figura 16.123. Risultato

  If the image has only one layer, it can be more convenient to use the Crop tool.

7.52. Scostamento |  | 7.54. Layers to Image Size

Report a bug in GIMP Segnalate l'errore sulla piattaforma apposita