[TIMOB-26940] IOS: select Image from gallery but got cropped unexpected
GitHub Issue | n/a |
Type | Story |
Priority | None |
Status | Closed |
Resolution | Duplicate |
Resolution Date | 2019-03-27T17:29:13.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | cropped, gallery, image |
Reporter | Shuo Liang |
Assignee | Unknown |
Created | 2019-03-27T08:48:13.000+0000 |
Updated | 2019-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