Coder Social home page Coder Social logo

Comments (3)

dzenbot avatar dzenbot commented on May 28, 2024

Hey Chris,

Actually this is intended to be like this. The cropping tools are there as guidelines. The crop rect and scale are the ones considered when drawing the final cropped image.

Also, images are always rectangular, specially for uploading them to a server. If your app needs a circular render, there are several ways of doing it.

Sent from Mailbox for iPhone

On Thu, Apr 17, 2014 at 12:44 PM, Chris Ledden [email protected]
wrote:

Hi, I was just looking at this awesome component, and ran the sample application. I noticed that in the updateImageWithPayload: method, the edited image is returned as still being a square. Is this the expected behavior?
If so, I guess there would be a step in there to crop to the circle given the scale factor etc.
Or have I missed something?

Thanks.

Reply to this email directly or view it on GitHub:
#33

from dznphotopickercontroller.

leddo avatar leddo commented on May 28, 2024

Thanks for the quick reply.

from dznphotopickercontroller.

dzenbot avatar dzenbot commented on May 28, 2024

Actually, at it very beginnings, the circular crop mode was outputting a circular render. But then somebody told me that it was not the best approach since the output must be the source, not the final render. Which made complete sense, specially when syncing with a server.

I hope you're enjoying the component, and please fill an issue for any other suggestions or bugs.

from dznphotopickercontroller.

Related Issues (20)

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.