public Image copySelectedImage() { return ImageProcessor.copyRectImage(getImage(), getSelectedRect()); }
public void crop() { Image img = ImageProcessor.copyRectImage(getImage(), getSelectedRect()); setUpUndo(getImage()); setImage(img); resetRect(); }