Crop Functionality using FabricJs
(This answer is an iteration on the fiddle in Tom’s answer. Thank you, Tom, for getting me down the road.) You can crop in Fabric.js using either fabric.Object.clipTo() or fabric.Object.toDataURL(). The clipTo() method retains the original image and displays a crop via a mask. The toDataURL() method creates a new image. My full example uses … Read more