Introduction
This guide explains how to use the image cropping mechanism with the available options, focusing particularly on the "Gravity" feature. The cropping mechanism allows you to define the area of an image to be extracted or cropped based on specified dimensions and pivot points.
Gravity Feature
What is Gravity?
Gravity defines the pivot point from which the extraction or cropping starts. This allows you to control the exact area of the image you want to crop, ensuring precision and flexibility.
Gravity Options
The gravity options available are:
- Manual: Allows you to set custom offsets from the left (X Axis) and top (Y Axis) edges.
- Center: Crops the image around its center.
- Top: Crops the image starting from the top edge.
- Left: Crops the image starting from the left edge.
- Bottom: Crops the image starting from the bottom edge.
- Right: Crops the image starting from the right edge.
- Top-Left: Crops the image starting from the top-left corner.
- Top-Right: Crops the image starting from the top-right corner.
- Bottom-Left: Crops the image starting from the bottom-left corner.
- Bottom-Right: Crops the image starting from the bottom-right corner.
The following image illustate the gravity options available: