iOS Question How do I actually crop a picture ?

MitchBu

Well-Known Member
Licensed User
Longtime User
I need to crop a picture, which means cut within it to a smaller size.

I tried B4XPicture.crop, but all it does is actually resize the picture to a smaller size, not crop it, in the same sense as Photoshop crops for instance.

Is there a way ?

TIA
 

Sandman

Expert
Licensed User
Longtime User
This is the way.
 
Upvote 0

MitchBu

Well-Known Member
Licensed User
Longtime User
This is the way.

Thank you @Sandman.

Looking at way the class works, I noticed that B4XBitMap.Crop was at the center of it. That helped me see what my error was.


Now crop works for me :)
 
Upvote 0
Top