# Shearing Image

Gilles
Caulier

    caulier dot gilles at free.fr

The digiKam image plugin Shearing Image is a tool for shearing an image horizontally or vertically.

KDE
Digikam

# Introduction

Shear tool is used to shift an image to a direction and the other part to the opposite direction. For instance, a horizontal shearing will shift the upper part to the right and the lower part to the left. This is not a rotation: the image is distorted. In other words, it will turn a rectangle into a parallelogram. This tool is available to Transform Shear menu.

## Using the plugin

Shear your image by using the Horizontal Angle and Vertical Angle sliders (values in degrees). You can shear along either Horizontally and vertically at the same time. Press to Reset Values for re-init the sliders to zero. A shearing effect preview is available on the middle of dialog. The new target image dimensions in pixels are displayed at the right side of dialog.

For helping you, the tool provide too a vertical and horizontal guide. Move the mouse cursor under image preview for display the dashed lines guide. Move the cursor to an important place in the image like the sea or a building border and press the left mouse button for freeze the dashed lines position. Now, adjust the shear correction accordinly with the guide.

After to apply a shearing adjustment, the image inevitably gets blurred a little bit. For a single shearing, the amount of blurring is quite small, but two shearing cause twice as much blurring as one, and there is no reason to blur things more than you have to.

After you have sheared an image, there will be unpleasant triangular "holes" at the corners. One way to fix them is to crop the image with Transform Crop Image Editor menu.

## The plugin in action

The Shear Tool dialog in action is available below.

### The Shear Tool Dialog