# Adding decorative elements

## Apply Texture

Gilles
Caulier

    caulier_dot_gilles_at_gmail_dot_com

The &digikam; Apply Texture is a tool for applying decorative textures to an image.

KDE
Digikam

## Introduction

By adding texture to your image, whether color or black and white, you can make it look like an oil painting on canvas, an Old Masters etching, a Pop Art portrait composed of enlarged half-tone dots, or even a mural on a brick wall. The Image Apply Texture Image Editor menu can be used for that.

### Using the Texture Tool

The Apply Texture Tool Dialog

Two options give you control over the texture applying on image:

Type: this option specifies the decorative texture style to apply under the image.

Relief: dragging this option to the right increases the appearance of depth or three-dimensionality of the texture on image.

### The Texture tool in action

A Paper texture effect apply to a photograph is available below. The original image is (1), the target image is (2). Relief factor used is 200.

The Texture Effect Preview

## Add Border

Gilles
Caulier

    caulier_dot_gilles_at_gmail_dot_com

The &digikam; Add Border is a tool to frame an image with decorative borders.

KDE
Digikam

## Introduction

Keeping the viewer's interest within the confines of the edges of a photograph is not a simple task. One of the simplest ways to hold the attention on an image is to incorporate a decorative frame around an image. It acts as a kind of psychological barrier to the straying eye. The Image Add Border Image Editor menu can be used for that.

### Using the Add-border tool

Four options give you control over the decorative frame rendering:

Type: this option specifies the decorative frame style to apply around the image. Solid style just surrounds the image with a colored line, Niepce style surrounds the image with a fine line and a large border (ideal for black and white images), Beveled style adds a neat dimension to your image (ideal to create a button effect), and Decorative style adds an ornamental border using patterns.

Width: this option specifies the border width in percents of image size. The border is added around the image. The width range is limited between 1% and 50%.

First: this option specifies the first color to use with the current border type.

Second: this option specifies the second color to use with the current border type.

Click on the OK button to apply the border around the current image.

The border decorated target image will be bigger than the original, but it will retain the same aspect ratio. This is important for printing images, especially if you have used the Aspect Ratio Crop tool before.

### The Add-border tool in action

The Add Border dialog tool in action is available below.

The Add Border Tool Dialog in Action

## Insert Text

Gilles
Caulier

    caulier_dot_gilles_at_gmail_dot_com

Gerhard
Kulzer

    gerhard at kulzer dot net

The &digikam; Insert Text is a tool for adding text to an image.

KDE
Digikam

## Introduction

This is a handy tool as it lets you add formatted text easily to an image wherever you want, at several places when needed.

### Using the Insert Text tool

This tool seems very intuitive to use. Type in your text and place it with the mouse. Use the block settings as you please. Choose the orientation, color from a color space, and fonts with all their properties. You will have to scale the font size to the image size, the larger the image, the larger the font has to be! Finally choose to add a border around the text and/or a semitransparent background. Voilà, it's finished!

Any text setting you have chosen can always be changed as long as you don't click the OK button. In saved and reloaded images the text has become part of the image, it cannot be changed anymore.

### The Insert Text tool in action

The Insert Text dialog tool in action is shown below.

The Insert Text Tool Dialog in Action

## Template Superimpose

Gilles
Caulier

    caulier_dot_gilles_at_gmail_dot_com

Gerhard
Kulzer

    gerhard at kulzer dot net

The &digikam; Template Superimpose is a masking tool to superimpose templates to an image.

KDE
Digikam

## Introduction

This tool allows to combine two images by superimposing them very easily. You can use this tool to re-frame your photographs and the story they tell.

Existing images or artificially created graphics can be used as PNG template files containing borders, frames, gradients, and composite images that can be added to or superimposed on other images. Template files aren't installed along with the &digikam; but can be found at this URL. Download the content to the &digikam; album database and set the Root Template Directory.

The Image Template Superimpose Image Editor menu is used to apply templates to an image.

### To create new templates

New templates can be created using any paint program, and the template must be stored on disk. Colored areas in the image will become a mask that will later be superimposed on another selected image. PNG template files must be created in RGB mode with Alpha channel. The alpha channel represents transparent areas in the template that will not show in the superposition. The selected image upon which the template file is superimposed will appear in place of the transparent areas in the template.

There is no restriction on template size and orientation, but you must use PNG file format with max. compression (9) to reduce the template file size. If you want to add your template creation to the &digikam; templates database, please send a mail to this &digikam; mailing-list digikam-users@kde.org.

### Using the Superimpose Tool

If you are using the tool for the first time, you must set your local templates directory using the Root Directory button in the dialog. Select the folder where you have copied the template files. The widget remembers this setting at the next instance.

When the root template directory is set, a folder tree view is created which displays the template directories structure. Selecting one will update the templates preview bar automatically.

Below the preview area, three buttons give you control over the template zoom and position on your image:

Zoom In: this button increases the underlying image's zoom factor. The image is centered to the current mouse position. Validate with the left mouse button.

Zoom Out: this button decreases the zoom factor. The image is centered to the current mouse position. If you want to apply the template to the full image you have to zoom out fully. Validate with the left mouse button.

Move: use this button to pan the underlying image. Click and drag the image with the right mouse button.

Click on the OK button to apply the template to the current image, which in turn will be automatically resized to the preview size.

### The Superimpose in action

The Template Superimpose dialog tool in action is available below.

The Template Superimpose Tool Dialog