4. Transform Tools

4.1. Felles eigenskapar

Figur 13.87. Transformasjonsverktøya i GIMP

Transformasjonsverktøya i GIMP

Denne gruppa inneheld åtte verktøy som blir brukte til å forandra presentasjonen av biletet eller eit biletelement, eit biletlag, eit utval eller ein bane. Desse verktøya forandrar ikkje innhaldet i pikslane, men plasseringa av dei i høve til kvarandre eller i høve til biletet. Kvart av verktøya har sitt eige dialogvindauge der du kan bestemme ulike innstillingar for verktøyet før du tar det i bruk.

4.1.1. Tool Options

Figur 13.88. Felles innstillingar for transformasjonsverktøya

Felles innstillingar for transformasjonsverktøya

Ein del innstillingar er felles for fleire av transformasjonsverktøya, og blir omtalte her. Dei innstillingane som er spesielle for einskilde verktøy blir omtalte saman med verktøyet.

Transformér

GIMP har tre knappar som du kan bruke for å bestemme kva for biletelement verktøyet skal arbeide på. (Knappane kan også heite “Flytt” eller “Spegelvend”).

[Notat] Notat

Remember that the Transform option persists when you quit the tool.

  • When you activate the first button the tool works on the active layer. If no selection exists in this layer, the whole layer will be transformed.

  • When you activate the second button the tool works on the selection contour only (the whole layer contour if no selection).

  • When you activate the third button, the tool works on the path only.

Retning

Direction sets which way or direction a layer is transformed:

The “Normal (Forward)” mode will transform the image or layer as one might expect. You just use the handles to perform the transformation you want. If you use a grid (see below), the image or layer is transformed according to the shape and position you put the grid into.

Corrective (Backward)” inverts the direction. Primarily used with the Rotation tool to repair digital images that have some geometric errors (a horizon not horizontal, a wall not vertical...). See Del 4.5, “Rotér”.

Interpolasjon

This drop-down list lets you choose the method and thus the quality of the transformation:

Ingen

The color of each pixel is copied from its closest neighboring pixel in the original image. This often results in aliasing (the “stair-step” effect) and a coarse image, but it is the fastest method. Sometimes this method is called “Nearest Neighbor”.

Lineær

The color of each pixel is computed as the average color of the four closest pixels in the original image. This gives a satisfactory result for most images and is a good compromise between speed and quality. Sometimes this method is called “Bilinear”.

Cubic

The color of each pixel is computed as the average color of the eight closest pixels in the original image. This usually gives the best result, but it naturally takes more time. Sometimes this method is called “Bicubic”.

Sinc (Lanczos3)

The Lanczos3 method uses the Sinc mathematical function and performs a high quality interpolation.

You can set the default interpolation method in the Tools Options Preferences dialog.

Klipping

Dersom transformasjonen skulle føre til at biletformatet blir endra, kan du her velje korleis biletet skal tilpassast forandringane.

Du har valet mellom fleire ulike klippemetodar:

Tilpassa

Figur 13.89. Eksempel på tilpassa klipping

Eksempel på tilpassa klipping

Original image

Eksempel på tilpassa klipping

Rotert med “tilpassa

Eksempel på tilpassa klipping

Rotert med “tilpassa”. Lerretet er nå forstørra for å gi plass til laget


With Adjust: the layer is enlarged to contain all the rotated layer. The new layer border is visible; the whole layer becomes visible by using the ImageFit Canvas to Layers command.

Beskjer

Figur 13.90. Eksempel på beskjering

Eksempel på beskjering

Beskjer


Laget blir ikkje forstørra når du roterer det. Alt som kjem utføre biletkanten blir klipt vekk.

Beskjer til resultatet

Figur 13.91. Eksempel på beskjer til resultatet

Eksempel på beskjer til resultatet

Rotation 45° with Crop to result

Eksempel på beskjer til resultatet

The crop limit is marked with red. No transparent area is included.


If this option is selected, the image is cropped so that the transparent area, created by the transform operation in corners, will not be included in the resulting image.

Beskjer med sideforhold

Denne innstillinga verkar som Beskjer til resultatet, men syter for at sideforholda er dei same som i originalbiletet.

Preview

I GIMP kan du velje mellom fire ulike former for førehandsvising for desse verktøya:

Omriss

Legg ei ramme rundt området, med eit handtak i kvart hjørne. Du kan dra i handtaka for å flytte ramma rundt på førehandsvisinga. Verknaden blir ikkje overført til biletet før du trykker knappen som aktiverer verktøyet.

Rutenett

Legg eit nett over området, med eit handtak i kvart hjørne. Du kan dra i handtaka for å flytte nettet rundt på førehandsvisinga. Verknaden blir ikkje overført til biletet før du trykker knappen som aktiverer verktøyet.

Bilete

Førehandsvisinga viser nå ein kopi av biletet, med ei ramme rundt. Flyttingane verkar på denne kopien. Det underliggande biletet blir synleg der kopien ikkje dekker biletet.

Bilete + rutenett

Begge er synlege samstundes.

Innstillingane med rutenett aktiverer ein nedtrekksmeny med to innstillingar: Talet på rutenettlinjer og Avstand mellom rutenettlinjene. Bruk glidebrytaren for å bestemme verdiane.

Dekkevne

This slider lets you set the preview opacity.

[Notat] Notat

Når du transformerer ein bane, vil førehandsvisinga vise bare omrisset. Dei andre innstillingane er utilgjengelege.