0

I have fetched the external image via a link (say, https://upload.wikimedia.org/wikipedia/commons/4/47/PNG_transparency_demonstration_1.png) and have got its dataURL and have converted that dataURL to an image file. How can I crop it on client-side?

Devid Farinelli
  • 7,329
  • 8
  • 38
  • 71
Kamal K
  • 159
  • 2
  • 8

1 Answers1

0

You can use Pixastic javascript library to crop an image. It also has a lot of other image processing methods that can be used.

Image cropping example using pixastic

Ozan
  • 3,589
  • 2
  • 17
  • 23