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 /...
Hi, is there a way to clip / crop with bitmapcreator ? Similar to canvas.ClipPath / canvas.RemoveClip. I would like to try using BitmapCreator instead of B4XCanvas, I'm trying to maximize performance gains.
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...