[TIMOB-13482] iOS: Camera - save to file deforms an image in landscape mode
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-04-09T19:24:39.000+0000 |
Affected Version/s | Release 3.1.0 |
Fix Version/s | 2013 Sprint 08 API, 2013 Sprint 08 |
Components | iOS |
Labels | KitchenSink, qe-3.1.0, qe-closed-3.1.0 |
Reporter | Olga Romero |
Assignee | Ingo Muschenetz |
Created | 2013-04-08T22:50:16.000+0000 |
Updated | 2015-02-02T20:46:44.000+0000 |
Description
The image, being set as a background, deforms the original image if picture is taken in landcape mode or if picture is taken in portrait mode(looks normal) and rotated to landscape.
Test case:
1. Run KS>Phone>Camera> Save to File
2. Rotate device to landscape or take picture being in landscape mode
Actual result:
An obvious image's deformation
Expected result:
Image should not be deformed
This is occurring because after the image capture, the window background is set to the image with no regard for scaling.
The image appears invalid because you are setting the image as the backgroundImage on the window and the aspect ratios do not match.
Closing as invalid per Eric's and Vishal's comments.