Directory

← Back

Cropper

Cropper

Author

Contributors

Rating

Cropper that allows to crop an image in given aspec-ratio...

Based on gwt-cropper and added some features

Sample code

cropper = new Cropper(new ExternalResource(
        "https://upload.wikimedia.org/wikipedia/commons/thumb/6/66/SMPTE_Color_Bars.svg/2000px-SMPTE_Color_Bars.svg.png"));
cropper.setSizeFull();
cropper.addCropSelectionChangedListener(new Cropper.CropperSelectionChangedListener() {
    @Override
    public void selectionChanged(Cropper.CropperSelectionChangedEvent event) {
        cropEvent.setValue(event.getSelection() != null ? event.getSelection()
                .toString() : "null");
    }
});

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

  • upgraded to vaadin 8
Released
2017-12-12
Maturity
BETA
License
MIT License

Compatibility

Framework
Vaadin 8.0+
Vaadin 7.0+ in 1.0.0
Browser
Firefox
Opera
Safari
Google Chrome
iOS Browser
Android Browser
Internet Explorer
Windows Phone
Microsoft Edge

Cropper - Vaadin Add-on Directory

Cropper Cropper - Vaadin Add-on Directory
Cropper that allows to crop an image in given aspec-ratio... Based on [gwt-cropper](http://gwt-cropper.co.uk/) and added some features
Online