Git Product home page Git Product logo

sotos.crop-image's People

Contributors

sotospez avatar tiddolangerak avatar zaidchauhan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sotos.crop-image's Issues

Bower package

Could you register the module as a bower component?

Image quality reduce

Hi,
Image quality reduce (both selection and output images) amount when try first demo. so what can be the reason?

Responsive canvases for edit-crop and view-crop?

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.

Responsive and set Width & Height.

I was trying to set width & height of viewSizeWidth & viewSizeHeight I need like "rectangule" form, but when I set the width & height with CSS the canvas like block and I can move the crop tool in the space of the image.

What do you suggest me?
I hope your response. Thank you.

screen shot 2015-01-20 at 4 30 20 pm

modal

in modal window fix the offset Y with scrollY

Use bower

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

Hard coded image saving

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.

404 in console when watermark image is not defined.

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).

Readme Example error

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

License?

What is the license for the project? Is it similar to MIT? Because, I'd love to use and contribute to it.

Publish to NPM/Mobile Support?

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!

Possibility to lock rotation into predefined steps

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?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.