A new cross platform version does exist: [B4X] [XUI] ResizeAndCrop. This is a new version from these threads. https://www.b4x.com/android/forum/threads/resize-and-crop.19550/#content and this one. https://www.b4x.com/android/forum/threads/resize-and-crop-square-image.94949/ It handles images...
www.b4x.com
If the photo was taken in "Portrait" mode, it is seen in "Landscape" mode, is there any way to rotate it before assigning it?