B4J Question Crop question

rspitzer

Active Member
I am currently loading up an image on my screen using B4XImageview. Works just fine, actually works really great. What I would like to do is crop certain areas of the image and save the cropped images to a file. There is a crop command that uses the B4Xbitmap, but this is incompatible with the image view, I am assuming. I know I can load the image up using the B4Xbitmap and then crop the picture, but I was wondering about a procedure that changes the B4Ximageview object to a B4Xbitmap object so I don't get incompatible types. If not the I will just use the B4Xbitmap instead, the reason I want to use the Image view is that it seems to fit and reduce the image a bit better than the load resize of B4Xbitmap.
 
Top