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

Different sizes when zooming? #21

Closed
raulriera opened this issue Jan 18, 2015 · 3 comments
Closed

Different sizes when zooming? #21

raulriera opened this issue Jan 18, 2015 · 3 comments

Comments

@raulriera
Copy link

Hi, I don't know if I understand the library correctly, but if you see this example app I did with your code http://cl.ly/ZLhB you will notice that the resulting croppedImage is changing when I scale the underlaying image.

Is this correct? shouldn't the returned croppedImage always be in the same size?

@ruslanskorb
Copy link
Owner

Hi Raul,

Yes, it is correct. croppedImage should not always be in the same size. Because the size is based on a selected region of the original image.

Sincerely,
Ruslan

@raulriera
Copy link
Author

But, did you see the video? the croppedImage.size is returned in the console with different values

@ruslanskorb
Copy link
Owner

When you scale the image, the selected area of the image is changing. It has a different size than the previous one. So, the size of croppedImage has different values.

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