`PHImageRequestOptionsResizeModeFast` upsizes any image smaller than 120x120 to 120x120

Originator:matos.xav
Number:rdar://28824315 Date Originated:10/18/16
Status:Open Resolved:
Product: Product Version:
Classification: Reproducible:Always
 
Area:
Photos

Summary:
When `requestImageForAsset` with a `targetSize` of 2x2, the returned image is upsized all the way to 120x120

Steps to Reproduce:
1. setup an options object with resize mode fast
2. request an asset with a size of 2x2
3. call `requestImageForAsset` with `targetSize` 2x2
4. image returned through callback is 120x120

Expected Results:
returned image is 2x2 size

Actual Results:
returned image is 120x120

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!