Some parameters like crop
, watermark-position
, compose-position
or text-position
expect a position value to work as expected.
Position values are specified with one or more position identifiers separated by a comma.
Horizontal Values
-
left
: left side position of the source image.
-
center
: horizontal center position of the source image.
-
right
: right side position of the source image.
Vertical Values
-
top
: top side position of the source image.
-
middle
: vertical middle position of the source image.
-
bottom
: bottom side position of the source image.
Examples
Simple position values are specified using one of the horizontal or vertical values like crop=left
setting the center of the crop to be the left side of the source image.
More complex values can be set using one of the horizontal values along with another from the vertical ones like watermark-position=right,bottom
, rendering the watermark image on the right bottom side of the source image.