Foliotek / Croppie

A Javascript Image Cropper
http://foliotek.github.io/Croppie
MIT License
2.58k stars 883 forks source link

is this project dead? #739

Open Ali-00-Ridha opened 4 years ago

agusterodin commented 3 years ago

Yes it is

Ali-00-Ridha commented 3 years ago

Yes it is

Any live alternatibves?

agusterodin commented 3 years ago

Not that I know of that are worth using. Most crop libraries suck ass.

It is a shame. This was a really high quality library. Surprised that they didn't try to get sponsors.

agusterodin commented 3 years ago

If you don't care about IE and use React you could probably use this as a starting point:

https://www.youtube.com/watch?v=dBWhAGhw7wM

This series is actively being created but part 1 should provide some direction. People in the comments have built some basic codepens for pinch to zoom to based on pinch position which is way better than what croppie provides (zoom in from center regardless of where you pinched from).

agusterodin commented 3 years ago

Better to work in pure React rather than use a wrapper around a heavy vanilla library. Similar approach could work for Vue. Gesture libraries handle a lot of the heavy lifting. Crop operation happens with functions on the canvas. Pica can handle image resizing. Exif library can handle rotation issues on phones. You could probably whip up a nice robust cropper in a work week.

theodorejb commented 1 year ago

Duplicate of #716.

Any live alternatives?

I created a modern fork named Cropt with a simplified API and higher quality image scaling: https://devtheorem.github.io/cropt/