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

iOS simulator incorrect Camera scaling #426

Open
jtara opened this issue Nov 21, 2014 · 0 comments
Open

iOS simulator incorrect Camera scaling #426

jtara opened this issue Nov 21, 2014 · 0 comments
Assignees

Comments

@jtara
Copy link

jtara commented Nov 21, 2014

See below for some history. I first observed this in 3.5.1. Still present in 5.0.2.

https://developer.motorolasolutions.com/message/16459#16459

On iOS simulator (NOT Rhodes emulator - haven't tried), images imported using the Camera API are improperly-scaled when their dimensions are less than desired_width, desired_height.

Those images should not be scaled.

Example: Put an image of 150x200px on the camera roll. Load it using either Choose Image or Take Picture from the Camera API dialog. Set desired dimension to, for example, 800x600.

The image is incorrectly scaled-down to 112x150 px.

This does not occur when run on iOS hardware. Both Choose Picture and Take Picture work correctly when run on hardware. e.g. in the above example, the image will be imported at 150x200px.

Of course, images larger than the desired are scaled-down.

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

3 participants