sotospez / sotos.crop-image Goto Github PK
View Code? Open in Web Editor NEWsotos.crop-image
Home Page: http://sotos.gr/demos/crop-image/
sotos.crop-image
Home Page: http://sotos.gr/demos/crop-image/
Could you register the module as a bower component?
Currently i can't get image data when saveImageCrop, please support me.
Thanks
Hi,
Image quality reduce (both selection and output images) amount when try first demo. so what can be the reason?
While I can make the input image and watermark divs resposive to whatever device the user is using, I cannot with your edit and view canvas.
How can I make your canvases work in mobile, tablet as well as pc devices. Wight now your edit-crop and view crop do not fit nicely on a mobile device, nor small tablets.
in modal window fix the offset Y with scrollY
Using bower in order to install your package, I got following errors :
bower invalid-meta sotos.crop-image is missing "main" entry in bower.json
bower invalid-meta sotos.crop-image is missing "ignore" entry in bower.json
So there is no included files into my index.html then, and we can not initialize angular's app.
Thank you to fix it
Hi,
In a listener cropImageSave event, a new browser window is opened. It would be more useful, if application's controller, which is calling for cropped image, could get the created inside of directive base64 image. However, referencing $scope.imageOut inside of application controller, like you have in example, doesn't work, because directive has an isolated scope.
Maybe broadcasting an event, instead of calling window.open, which will contain cropped image, would be the best solution. Then it can be accessed in application logic easily.
It tries looking for the image during the $watch. Tracked it down commenting out line 544 to stop it if that is useful.
Can totally be used as if you just define the watermark image (even if not going to use it).
Hello,
is it possible to rotate the image without rotate tool but with an own button, to let it rotate in 90° steps?
Readme says:
$scope.cropOptions.viewShowRotateBtn= true; //if rotate tool show default true
This should be:
$scope.options.viewShowRotateBtn= true; //if rotate tool show default true
Browser: Chrome Version 45.0.2454.101 (64-bit)
How to reproduce the bug:
I try to example, but it's not working when i click crop image
http://plnkr.co/edit/mrlF7s?p=preview
Why image not get?
Error: Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported.
at Error (native)
at getImage (http://run.plnkr.co/f4OJayJFDEyb6rcu/sotos.crop-image.min.js:11:8562)
Help me please!
What is the license for the project? Is it similar to MIT? Because, I'd love to use and contribute to it.
Hi,
Any plans for mobile support? Also wondering if this is going to be published to NPM too.
Its a really nice plugin, with those two features it would become extremely useful!
Hi,
could you add a possibility to lock rotation into some predefined steps, something like:
$scope.options.rotateLock = [
0,
45,
90,
135,
180,
225,
270,
315
];
..and then user could only rotate the image 0, 45, 90, 135, 180, 225, 270 or 315 degrees?
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.