CROP

Note

This object resets workArea to the new dimensions of the image!

Properties

align

align
Data type

VHalign / stdWrap

Default

l, t

Pair of values, which defines the horizontal and vertical alignment of the crop frame.

Values:

Horizontal alignment:

l

left

c

center

r

right

Vertical alignment:

t

top

c

center

b

bottom

Example:

Horizontally centered, vertically at the bottom:

EXT:site_package/Configuration/TypoScript/setup.typoscript
align = c, b

backColor

backColor
Data type

GraphicColor / stdWrap

Default

The original background color

Background color.

crop

crop
Data type

x,y,w,h +calc /stdWrap

x,y is the offset of the crop frame from the position specified by align.

w,h are the dimensions of the frame.