type
UploadImageEdit
A reversible crop and focal point on the oriented source image.
Properties
| Property | Type | Description |
|---|---|---|
FocalX | float64 | Horizontal focal coordinate from 0 through 100. |
FocalY | float64 | Vertical focal coordinate from 0 through 100. |
CropX | float64 | Crop rectangle horizontal origin as a source-image percentage. |
CropY | float64 | Crop rectangle vertical origin as a source-image percentage. |
CropWidth | float64 | Crop width; zero with CropHeight clears the crop. |
CropHeight | float64 | Crop height; a positive rectangle must remain within the source. |
How it works
Coordinates are percentages of the oriented source image, not a generated rendition.
Full signature
type UploadImageEdit = protocol.UploadImageEdit