Start
Previous Next

7. The Menus / 7.5 The Layer Menu

### 7.5.3 Scale Layer

Scaling has various different working modes:

- Normal
Normal allows to control the destination width and height. Optionally the image resolution can be set in dpi.
- Percent
- Resolution
This mode changes the resolution of an image. It modifies the number of pixels in an image, but its size in inches stays the same.
- Width
Width is similar to Normal. The one difference is, that only the destination width is adjustable. The height will be calculated accordingly.
- Height
Using Height only the destination height is entered. The width will be calculated accordingly.
- Fit
With Fit you have to define a destination size. PhotoLine will scale the layer proportionally, so that it will fit into that destination size. This mode is used most in combination with Batch Convert.
- Formula
Formula allows to enter formulas as destination size. The following variables are defined:
w: current width
h: current height
d: current resolution in dpi
You can use all formulas and expressions listed in "Unit Text Fields" (chapter 3.3.7). The formula mode is mostly used in combination with actions (see chapter 4.27).

There are 5 interpolation modes:

- Quick
No interpolation is made, therefore no new pixel values are created. This mode is usually not suited for photos, but it is the quickest mode.
- Bilinear
New pixels are created by linear interpolation.
- Bicubic
Bicubic usually gives better results compared to bilinear. Large magnifications may be a bit unsharp.
- Lanczos 3
Lanczos 3 is similar to bicubic, but it has additionally a light sharpness effect. Therefore, magnifications often look better.
- Lanczos 8
The sharpening of Lanczos 8 is stronger than that of Lanczos 3.
- Liquid
The mode Liquid is only available, if Layer is selected and the active layer is an image. Liquid will not scale the image equally, but instead it will try to keep the size of the important parts and to scale only the unimportant ones. You can create a selection to define the important parts by yourself. The quality of Liquid scaling heavily depends on the scene of the photo.

The radio buttons Layer, Page and Document select whether to scale the active layer, the active page or the whole document.