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

Captured image has wrong size / aspect ratio #47

Open
lorlab opened this issue Nov 30, 2015 · 1 comment
Open

Captured image has wrong size / aspect ratio #47

lorlab opened this issue Nov 30, 2015 · 1 comment

Comments

@lorlab
Copy link

lorlab commented Nov 30, 2015

Hi! Great library!
I have a problem with the output image. I am trying to get a square photo but the output is slightly off.
These are the logs from the various delegate methods:

fastCamera.view.frame: (0.0, 80.0, 320.0, 320.0)
RAW JPEG Data size: Optional((2448.0, 3264.0))
capturedImage size: (2448.0, 2452.0)
Normalized full capturedImage size: (2448.0, 2452.0)
Normalized scaled capturedImage size: (320.0, 321.0)

Any idea why the image is slightly wider? Thanks!
I am testing on an iPhone 5S running iOS 9.1

@lorlab lorlab changed the title Captured image has size / wrong aspect ratio Captured image has wrong size / aspect ratio Nov 30, 2015
@Flitskikker
Copy link

Same here. Did you find the cause? @lorlab

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