Giter Club home page Giter Club logo

Comments (7)

Canato avatar Canato commented on May 28, 2024

This is an interesting feature. I believe we can achieve because the code define the 4 corners as X^Y positions.

Yet I see as a trick one!
We need to define how many corners the use can have (we can start easy using 4 as default)
We need to be sure the touch areas for crop movement do not overlap
And the behaviour of zoom in/out when .setFixAspectRatio(true)

But I would love to see some option like this!
Sadly I cannot put as my personal ToDo now, cause there is many work to be done for stability (can check in project the next tasks in the roadmap)
But please, fell free to join the codebase and try the changes =D

Hopefully we can have a new nice feature soon

If you are wiling to do this, think about Join the Team even for a small period of time =)

Observation: Maybe this issue will stale in 14 days, we will receive a bot notification, you can come here when this happens and give an update. The whole idea is to avoid any old forgoten ticket. When you open a PR for this I can pineed this issue =)

from android-image-cropper.

Laur89ro avatar Laur89ro commented on May 28, 2024

From what I can see to create the crop rectangle it uses a object RectF. It doesn't seem you can set 4 independent points

from android-image-cropper.

Canato avatar Canato commented on May 28, 2024

From what I can see to create the crop rectangle it uses a object RectF. It doesn't seem you can set 4 independent points

Indeed, I was thinking about the touchable area, totally messed it on my mind, I'm out of my laptop until 22/3 (holidays) so coulnd't navigate in the code XD

from android-image-cropper.

Laur89ro avatar Laur89ro commented on May 28, 2024

No problem. I will try to dig deeper into the code and see if i can find a solution. If you have any ideas please share :)
Thanks!

from android-image-cropper.

omkar-tenkale avatar omkar-tenkale commented on May 28, 2024

Maybe this would help
https://github.com/igreenwood/SimpleCropView

from android-image-cropper.

Laur89ro avatar Laur89ro commented on May 28, 2024

It doesn't. I don't want to crop a rectangle. I want to be able to select like a trapezium or rombus.

from android-image-cropper.

stale avatar stale commented on May 28, 2024

Let's keep this mess organised! This issue has been automatically marked as stale because it has not had recent activity. =( It will be closed if no further activity occurs. Thank you for your contributions.

from android-image-cropper.

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.