CropFrame - Crop view retrieving the actual height and width of the uploaded file

CropFrame
Crop view retrieving the actual height and width of the uploaded file.

You will need vknow360's FFmpeg extension to apply the cropping coordinates provided by this tool.


LoadFile

Loads the path of an image or video and retrieves its actual size (width x height).
The frame and the CropChanged event will use those actual coordinates.

  • The frame will operate in real-image coordinates, not screen coordinates.
  • If the LoadFile function is not used, the coordinates obtained will be screen coordinates.

View

Embed the crop frame as an overlay within an Arrangement.


Width

Returns the actual width of the uploaded file.

component_method (3)


Height

Returns the actual height of the uploaded file.

component_method (4)


AspectRatio

Sets the aspect ratio. 0 and 0 for free-form.


Remove

Remove the cropping overlay from the container.

component_method (2)


CornerColor

Specifies the color of the frame corners.

blocks (97)


BorderColor

Specifies the color of the frame lines.

blocks (96)


GridColor

Specifies the color of the internal grid.
For better visualization, use transparency with rgba.


CropChanged

Returns x, y, width, and height in the actual coordinates of the loaded image or video.


v1.0 September 28, 2026.

CropFrame.aia (1.3 MB)

joejsanz.joedevcropframe.aix (12.6 KB)


JDK: 17
Minimum API Level: 14
Updated On: 2026-09-28T07:00:00Z

Built using: FAST-CLI v7.2.0-premium


Support free development

  • This extension is and will remain free. If you have found it useful and wish to support my work so I can continue creating and updating components like this one, any voluntary contribution is greatly appreciated:

Donar con PayPal


Thanks.

1 Like