Comments (7)
I'm not sure I understand the question. If you don't want an aspect ratio, just don't set one. Actually, you need a controller to be able to set the aspect ratio in the first place, so if you don't use a controller at all, or if you use one but you don't specify the aspect ratio, you won't get it enforced.
from crop_image.
Hi thank you for reply,
no no i m not asking for initial setup,
i want to reset aspect ratio after setting it,
for example
in my app i want to give option to select landscape aspect ratio, and if user is not comfortable in landscape and want to select in free size mode, then i want to give them option to reset aspect ratio so that they can select according to their need.
i hope now my question is clear
from crop_image.
Pass null when you want to remove the aspect ratio. The controller's aspectRatio
is a double?
.
from crop_image.
Yes i tried passing null, but its not working,
because in code if aspect ratio is coming null then its using previously passed value,
please correct me if i m wrong
from crop_image.
from crop_image.
and here is the setter,
from crop_image.
OK, I see. What happens if you change that last line in the setter to:
else
value = _CropControllerValue(null, value.crop);
Could you test this?
from crop_image.
Related Issues (20)
- Revert also down to meta 1.8.0? HOT 4
- How to programmatically set the crop area using controller? HOT 1
- How to programmatically set image rotation using controller? HOT 1
- Minimum width and height in pixels HOT 1
- Type 'ImageDecoderCallback' not found. HOT 6
- ImageDecoderCallback not found HOT 1
- CropGrid and Ract do not match after rotating the picture, HOT 2
- Request a function that allows grid color separation HOT 2
- Type 'ImageDecoderCallback' not found HOT 2
- Maximum width/height, fixed crop size HOT 1
- When i crop a gif it will make it a png image HOT 1
- The cropper don't work on mobile and tablet web HOT 2
- ArgumentError Invalid argument(s): 302.575306122449 HOT 6
- How to get path of cropped image? HOT 1
- UI issue - Bottom menu is hidden on IOS Chrome browser. HOT 5
- [WEB] Large image sizes are missing top and right areas, with croppedBitmap HOT 4
- Custom corners - option to hide corners HOT 2
- The cropper is not repainting when we change any of the grid properties such as Color/InnerColor/Corner size ect HOT 1
- Crop the image natively HOT 1
- Additional "eraser" feature HOT 9
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 crop_image.