I have figured out how to select a portion of the image, making the selection rectangle persist in the viewer. How do I access the selected part of the image, to save it (i.e. to crop the original image)? The user needs to be able to scan an image, select part of it and save the selection. Mikael