ofn3-align-layers

Purpose

This script realigns layers over a reference layer by scaling, rotating and translating them so that two designated points in each layer come to an exact overlap with two designated points in the reference image.

Usage

The script is invoked from Layers > Align layers in the usual image menus.

The script has no parameters, and works from the selected layers and the selected path.

Selected layers

These are the layers that are scaled/rotated, the reference layer should not be included. The layers are processed bottom-up.

Selected path

The points are beforehand designated to the script as anchors in a path. There are to ways to use this:

Example

Note

The script uses the default interpolation method.