Crop image (user)
A behavior that allows the user to crop an image directly. For this purpose, both the size of the "work area" and the initial cropping area can be specified.
The cropped image, which corresponds to the size of the cropping area, is passed on to the actions as a FileInfo object if successful.
►NOTE◄ This behaviour type is only available, if the functional extension module "Document Management" is installed and licensed.
A dialog opens for the user to cut an area from an image based on the behavior settings.
When pressing Cancel, the "false" actions are called with an empty input value. Otherwise, the "true" actions are called and the cut image is passed as a FileInfo object.
Configuration
(1) The initial crop section size. Height and width can be specified in each case as a calculation expression
(2) Width and height of the entire "work area". Note: it does not have to correspond to the size of the image, as the user can both zoom and scroll
(3) Determines whether the user is allowed to change the crop size himself
(4) Specifies the shape of the cropping area (available values are Rectangle and Circle). However, the image is always cropped as a rectangle