Cropping Images in Angular

Cropping Images in Angular

I am searching for a plugin for Angular to crop images before uploading it to the database, I have searched all the day, but all the plugins I have found was even deprecated or not satisfying my needs.

What I specifically want is a plugin that:

  1. Zoom in and out the photo.
  2. Crop the photo.
  3. Change the format of the photo.

the best choice I have found was:

  1. angular-image-cropper
  2. Andy Shora image cropper
  3. ngx-image-cropper

The first one the almost what I want, but unfortunately it's deprecated and I can't use it or don't know how to use it.

I want something similar to this.

Is there a method to use the first one in angular 13? or is there a good alternative for it?

2 Answers

Would ngx-image-cropper work for you? Glancing over the docs it should be able to do what you want, just some minor touches to UI side. Snapping to grid, highlight lines etc.

1

A bit late, but the image cropper in this StackBlitz has a zoom option that might be what you're looking for

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

James H. Sterling
Author

James H. Sterling

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.