ImageLoader - Zoom, rotate, position, bring to front, send to back, flip, restore image, and delete

ImageLoader within an arrangement.
Thumb manipulation on all layers: zoom, rotate, and position.
Bring to front, send to back, restore image, and delete.

GIF_20250616_013259_869-ezgif.com-resize


LoadImage

Loads an image from the device and displays it in an Arrangement.
Returns the image ID.

LoadImage_Get_Method

Example


RemoveImage

Delete the image by passing its id.

RemoveImage_Call_Method


BringToFront

Bring the image to the front by passing its id.

BringToFront_Call_Method


SendToBack

Send an image to the back by passing its id.

SendToBack_Call_Method


ResetImage

Resets the transformation of an image by passing its id.

ResetImage_Call_Method


GetLastTouchedImageId

Returns the ID of the last touched image

GetLastTouchedImageId_Get_Method


ImageTouched

Triggered when an image is touched.

ImageTouched_Event


Update v1.1 June 17, 2025.

FlipImage

Flip an image vertically or horizontally.

FlipImage_Call_Method

  • Mirror mode.


RotateImage

Rotate an image by specific degrees.

RotateImage_Call_Method


ResetRotation

Resets the rotation of an image.

ResetRotation_Call_Method

This sets the image to degree 0


GetImageRotation

Get current rotation angle of an image in degrees.

GetImageRotation_Get_Method


ImageRotated

Triggered when an image is rotated, returns the current rotation angle in degrees.

ImageRotated_Event


Update v1.2 June 22, 2025.

DisableRotation

Disable or enable rotation for a specific image.


Opacity

Set image opacity (0-1).

opacitigif


v1.2 June 22, 2025.

Features:

  • Disable rotation and set opacity.

ImageLoader.aia (35.5 KB)

joejsanz.joedevimageloader.aix (13.9 KB)


JDK: 11
Minimum API Level: 21
Updated On: 2025-06-22T07:00:00Z

Built & documented using: FAST v3.7.0-premium


Thanks.

7 Likes

Very nice :+1:

One request, ability to reset rotation after resizing, it is a bit fiddly to do it manually.

1 Like

If guide lines appeared when passing through degrees 0, 90, 180 and 270, would that be okay?

Will the image snap to them ?

That's what I had in mind, that it would give a snap just when it approached certain types of degrees to align, but I'm better off leaving the reset function.

1 Like

Update v1.1 June 17, 2025.

2 Likes

Very nice :+1:
Can I save the edited image? I can't find a way to do it.

It is not possible in the published version

I haven't updated the extensions yet, but try this:
ImageLoader.aia (34.7 KB)

2 Likes

Update June 19, 2025.

2 Likes

Hi
I like your extension.

Is it possible to just pinch and zoom without the image rotating while it zooms in... Could I like disable rotation.

Thanks very much.

1 Like

Update v1.2 June 22, 2025

3 Likes

Thanks for the update to disable rotation!

1 Like