twhitbeck / angular-cropper Goto Github PK
View Code? Open in Web Editor NEWTouch-enabled image cropper for AngularJS
License: MIT License
Touch-enabled image cropper for AngularJS
License: MIT License
Hi Tim,
Some images are saved as "transparent" images - when not using Chrome.
It can be reproduced on FireFox. I haven't tried other browsers.
It would be great if you could solve this.
Thanks,
Victor
Do you have this solution made for Angular 8, I need it urgently
It would be nice if you add some events, like onZoomEnd, onMousemoveEnd (onTouchmoveEnd) and may be some other. They can be used when you dont need to push crop button and you want to get cropped image dataUrl when user changes image inside canvas.
Got an email with this request:
I was trying to implement your cropper program for AngularJS, however I need to do this without using Bower or NPM. I was wondering if you can walk me through it.
Hi,
I tried to use it in a cordova project, it is a awesome solution for mobile cropping.
but without rotating it isn't enough because generally phone photos are not straight.
I tried to add this functionality but move function didn't work properly and my JS ability is no so well :(
Maybe you can add it when you find time,
thanks.
Hi Tim,
Thanks for this nice cropper - really easy to implement :)
I've had 2 issues:
It would be great if you could fix it.
Thanks,
Victor
Not sure exactly what the solution should be. We could automatically shrink the canvas
to the size of the image.
In Google Chrome 44 image only zoom in on wheel event. When I logged event, there wasn't deltaY property, but in originalEvent was.
Works correctly only if change line:
if (e.deltaY < 0) {
to
if (e.originalEvent.deltaY < 0) {
Hi,
Can you please tell me if I can load an image with zoom out when I'm loading an image?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.