Comments (7)
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.
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.
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.
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.
Maybe this would help
https://github.com/igreenwood/SimpleCropView
from android-image-cropper.
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.
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)
- Is this repo still being supported or not? HOT 1
- CropImageView fails to respect the match_parent size upon resizing the window HOT 1
- ActivityResultContract for custom activity
- Can I Customize Crip Edit Screen In Android Compose? HOT 1
- URI validation security issue
- Crashing on calling the copping activity...
- Multiple call of cropImage in loop when we can pick more then one image from gallery
- Getting crash while selection of camera cropping only in Android 10
- Question : Is it possible move and scale the picture itself instead of the crop overlay? HOT 3
- v
- Can crop by path or region? HOT 1
- Prevent CropRect Translation in Image Cropper
- Tool bar and its buttons(back, crop etc) is not shown. just white space HOT 2
- [Feature Request] Support for Rounded Rectangle Crop Shape HOT 4
- Integrate the Photo picker tool HOT 1
- Opening camera doesn't allow exiting the activity HOT 1
- How to customize the AlertDialog in Jetpack Compose? HOT 3
- Allow selecting multiple images at a time from the Gallery HOT 3
- Runtime Error Occurs When Revoking Camera Permission During Image Cropping HOT 1
- No toolbar / buttons to confirm the crop HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-image-cropper.