artemkrachulov / akimagecropperview Goto Github PK
View Code? Open in Web Editor NEWResponsive image cropper
License: MIT License
Responsive image cropper
License: MIT License
Hi, i found typo in AKImageCropperOverlayView.
configuraiton
should be changed to configuration
.
Swift 3.0 support would be nice for your great cropper!
When setting below configurations for cropper view.
configurations.cornerTouchSize = CGSize(width: 80.0, height: 80.0)
configurations.minCropRectSize = CGSize(width: 20.0, height: 20.0)
That is, when cornerTouchSize > minCropRectSize, the edges just exceeds to the corners and it disturbs the layout.
Please fix this issue.
3 issues.
cropView.image = image
cropView.showOverlayView()
cropView.delegate = self
extension EditProfileImageController : AKImageCropperViewDelegate {
func imageCropperViewDidChangeCropRect(view: AKImageCropperView, cropRect rect: CGRect) {
print(rect)
}
}
even is not called in example project
Hi
You've implemented a great library for cropping images. However we have a problem in our case
We are creating a cropping frame but we dont want to allow users to crop images which are not filling the entire crop frame.Because we dont want empty spaces in the image
Is something like that possible with this library? @artemkrachulov
Thanks
Hi,
Thank you for your library but there are some features I don't want as in the title!.
How to disable these features
Is there a way of locking aspect ration of cropper, e.g. to 2:3 or 9:16?
How do I lock the crop area with a particular aspect ratio?
Is there an option to drag the crop rectangle? So that it moves with the finger drag and resize only when dragging by edges?
Hi,
Thanks for such a good library.
I have a requirement though where I want the crop rectangle to be fixed to a minimum height & width & the user should be able to go above the minimum height & width but not below it.
So is this possible using this library?
Value of type 'AKImageCropperView' has no member 'isoverlayViewActive'
Did you mean 'isOverlayViewActive'?
3436f26 changed from isoverlayViewActive
to isOverlayViewActive
.
How can I turn off automatic image orientation change?
thanks for the plugin. everything seems nice, but when i zoom the image it doesn't get the full size of the View.
The size of the view is the size of the Image with "UIViewContentMode.ScaleAspectFit".
Would be nice if it gets the entire size of the UIView like the "Photos" app does even when you zoom.
thank you
First of all, Thank you for this great git!
Hey. i'm having this weird issue. When i'm first initializing the cropper View like this
self.cropView = AKImageCropperView(frame: self.preview.bounds, image: img!, showOverlayView: true)
self.preview.addSubview(self.cropView)
self.cropView.refresh()
It's works perfectly. Tho when i'm trying to change the image inside the cropper, like this ;
self.cropView.image = img
self.cropView.refresh()
It's changing the image, but the scrollView zoom is almost on max.
I might be missing something, but how can i just replace the image and refresh the image?
re-creating the cropper each time is slow, tried it already. Thanks!
Hi There,
I am uploading my build to app store. It's showing me error related to Invalid Segment Alignment.
Here are detailed :
WARNING ITMS-90080: "The executable 'Payload/myappname.app/Frameworks/AKImageCropperView.framework' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."
ERROR ITMS-90209: "Invalid Segment Alignment. The app binary at 'myappname.app/Frameworks/AKImageCropperView.framework/AKImageCropperView' does not have proper segment alignment. Try rebuilding the app with the latest Xcode version."
Please help, It was working well while development.
Thanks for making this lib.
Hello planned change round cutting support for avatars?
There is a problem, with the "grid" variable, and some things are not updated to the newest Swift Syntax
i have made change in
public func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
return false
}
it working smoothly now. can u please let me know the reason
i installed the framework with cocoapods but when i try to import the framework it shows no such module 'AKImageCropperView'.
i tried everything i could do.can you please help me with ??
thank
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.