wb.attr("bgColor", cropper.getBackgroundColor(), null)
.attr("bgOpacity", cropper.getBackgroundOpacity(), 0.6)
.attr("aspectRatio", cropper.getAspectRatio(), Double.MIN_VALUE);
if(cropper.getValue() != null) {
CroppedImage croppedImage = (CroppedImage) cropper.getValue();
int x = croppedImage.getLeft();
int y = croppedImage.getTop();
int x2 = x + croppedImage.getWidth();
int y2 = y + croppedImage.getHeight();
select = "[" + x + "," + y + "," + x2 + "," + y2 + "]";
}
else if(cropper.getInitialCoords() != null) {
select = "[" + cropper.getInitialCoords() + "]";