Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-26940] IOS: select Image from gallery but got cropped unexpected

GitHub Issuen/a
TypeStory
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2019-03-27T17:29:13.000+0000
Affected Version/sn/a
Fix Version/sn/a
Componentsn/a
Labelscropped, gallery, image
ReporterShuo Liang
AssigneeUnknown
Created2019-03-27T08:48:13.000+0000
Updated2019-03-27T17:29:13.000+0000

Description

Reproduce Steps

1. Download any image of resolution(3264 X 2448) for testing purpose. (Attached test image) 2. Run the following example code in a default alloy app. 3. Drag the test image over to simulator. 4. Run the example app, click on the Hello World text of the application and select the testing image from the gallery. 5. Go to simulator folder, then check the saved image. For example in my test, the location is: (~/sliang⁩/⁨Library⁩/⁨Developer⁩/⁨CoreSimulator⁩/⁨Devices⁩/⁨9080930F-2320-4FF3-A042-D7955440EACE⁩/⁨data⁩/⁨Containers⁩/Data/⁨Application⁩/8D3292C5-4578-4B59-8956-29C36AB23BFF⁩/Documents⁩)

Problem

Open the image, you will see the resolution is only 3073 X 2305 and it get cropped at right side and bottom side.

Expect

The image should not get cropped.

Attachments

FileDateSize
index.js2019-03-27T08:48:14.000+0000934
originalImage.jpg2019-03-27T08:48:14.000+0000868435

Comments

  1. Alan Hutton 2019-03-27

JSON Source