Sub CreateSquareThumbnail(Input As B4XBitmap) As B4XBitmap
If Input.Width <> Input.Height Then
'if the image is not square then we crop it to be a square.
Dim l As Int = Min(Input.Width, Input.Height)
Return Input.Crop(Input.Width / 2 - l / 2, Input.Height / 2 - l /...
This new library will allow you to make cuts on images in a square (rectangular), circle and ellipse.
Moreover, the image can be enlarged by the user, and rotated to obtain different cuts.
I have used XUI libraries, if I have time I convert it to Android.
The full version will be distributed to...
Ola
I'm looking for an image slider. Animated - check. Do not crop an image - check. Pause - check. Open a URL on image click - check. Navigation buttons - check, Pause on hover - check. Show progress of bar when viewing each image - check. Random animation per slide - check. Play local video...
B4AClayView - Crop and image trimming
And here is another Image Cropping and Trimming-library :).
You can use this to trim the outline of an image and create your own custom shape. You can also undo your previous trimming actions.
Source/Creator: https://github.com/line/clay
I wrapped this...