Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to obtain the location of the cut? #2

Closed
ddaddy opened this issue Nov 26, 2013 · 1 comment
Closed

Possible to obtain the location of the cut? #2

ddaddy opened this issue Nov 26, 2013 · 1 comment
Assignees

Comments

@ddaddy
Copy link

ddaddy commented Nov 26, 2013

Hi,
I was just wondering if it's possible to get the location of the cut frame, so I can overlay the cut section in the same place it came from?

Thanks

@ghost ghost assigned mzeeshanid Nov 28, 2013
@ddaddy
Copy link
Author

ddaddy commented Nov 28, 2013

Thank you. maskedImage returned a black and white flipped image.
I got it working by setting CGRect croppedRect = rect; and commenting out the croppedRect.origin.y = rect.size.height - CGRectGetMaxY(aPath.bounds); line.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants