Giter VIP home page Giter VIP logo

akimagecropperview's People

Contributors

artemkrachulov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

akimagecropperview's Issues

Unsupported Swift Version

After pod install, when open on Xcode 13.2.1, show the following alert.

The target “AKImageCropperView” contains source code developed with Swift 3.x. This version of Xcode does not support building or migrating Swift 3.x targets.

Use Xcode 10.1 to migrate the code to Swift 4.

Screen Shot 2022-01-18 at 11 05 41

Cropper view edges exceeds to corners

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.

Members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'

3 issues.

  • AKImageCropperScrollView.swift:18:14: Members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
  • AKImageCropperScrollView.swift:28:14: Members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'
  • AKImageCropperScrollView.swift:44:14: Members of 'final' classes are implicitly 'final'; use 'public' instead of 'open'

delegates imageCropperViewDidChangeCropRect is not called

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

How to allow cropping only filled images

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

How to disable feature zoom , zoom while cropping

Hi,

Thank you for your library but there are some features I don't want as in the title!.

How to disable these features

  • zoom, I don't want user to drag image around.
  • zoom while cropping, I just want image at the same while cropping.

Cannot drag the crop rectangle

Is there an option to drag the crop rectangle? So that it moves with the finger drag and resize only when dragging by edges?

Minimum crop circle

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?

Example Build failed

Swift Compiler Error

Value of type 'AKImageCropperView' has no member 'isoverlayViewActive'

Xcode suggestion

Did you mean 'isOverlayViewActive'?

3436f26 changed from isoverlayViewActive to isOverlayViewActive .

the frame size is small

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

Unable to "reload" new image into the cropper - ScrollView get zoomed

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!

Invalid Segment Alignment while uploading to App store

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.

Cannot run it with xCode 7

There is a problem, with the "grid" variable, and some things are not updated to the newest Swift Syntax

cropperview edges not moving smoothly on image.

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

no such module 'AKImageCropperView'

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

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.