I'm using this code from @klaus (thanks!):
https://www.b4x.com/android/forum/threads/resize-and-crop.82436/#post-522422
to crop an image and works fine (image1), but not if I use a square image (2):
(1) (2)
If I use a square image (same width and height) I don't see the yellow markers to resize and crop the image in portrait mode.
I tried to change the code (MaxHeight, MaxWidth, etc.), but I don't figure out how to see the markers and crop the square image.
The original code with the square image is in attached.
Thanks in advance for any tip to fix this problem.
https://www.b4x.com/android/forum/threads/resize-and-crop.82436/#post-522422
to crop an image and works fine (image1), but not if I use a square image (2):
(1) (2)
If I use a square image (same width and height) I don't see the yellow markers to resize and crop the image in portrait mode.
I tried to change the code (MaxHeight, MaxWidth, etc.), but I don't figure out how to see the markers and crop the square image.
The original code with the square image is in attached.
Thanks in advance for any tip to fix this problem.