Transforms are applied to source images and text layers.
The following operations are applied to source images, in the given order, to achieve the desired spatial relationship with layer 0:
crop=
, if specified.size=
or, if size=
is not specified, based on scale=
, or, if scale=
is not specified, based on res=
, or, if res=
is not specified, use the full resolution source image.flip=
, if specified.rotate=
, if specified.extend=
, if specified.origin=
and pos=
(see below).The following transforms are applied to text layers:
size=
, or the text width and height, if size=
is only partially or not at all provided. The text is aligned within the text box using the rtf text alignment attributes. Text may be cropped by the text box.textAttr=
.rotate=
, if specified.extend=
, if specified.origin=
and pos=
(see below).For both image and text layers, the last step-positioning the layer in the canvas-does not apply to layer 0, since layer 0 effectively constitutes the canvas.