Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-13482] iOS: Camera - save to file deforms an image in landscape mode

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionInvalid
Resolution Date2013-04-09T19:24:39.000+0000
Affected Version/sRelease 3.1.0
Fix Version/s2013 Sprint 08 API, 2013 Sprint 08
ComponentsiOS
LabelsKitchenSink, qe-3.1.0, qe-closed-3.1.0
ReporterOlga Romero
AssigneeIngo Muschenetz
Created2013-04-08T22:50:16.000+0000
Updated2015-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

Comments

  1. Eric Merriman 2013-04-09

    This is occurring because after the image capture, the window background is set to the image with no regard for scaling.
  2. Vishal Duggal 2013-04-09

    The image appears invalid because you are setting the image as the backgroundImage on the window and the aspect ratios do not match.
  3. Olga Romero 2013-04-11

    Closing as invalid per Eric's and Vishal's comments.

JSON Source