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,514
  • 9
  • 42
  • 73
Kamal K
  • 179
  • 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,709
  • 2
  • 18
  • 23