iOS 8 GM: -[PHImageManager requestImageDataForAsset:options:resultHandler:] sometimes returns thumbnails for filtered photos
| Originator: | stephenpoletto | ||
| Number: | rdar://18341805 | Date Originated: | 15-Sep-2014 01:58 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 8.0 (12A365) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: Calling the PHImageManager to request image data for an asset will return a thumbnail (rather than a high resolution version of the photo) if the call occurs immediately after the photo was taken. Concretely, the bug involves passing the following options: PHImageRequestOptions *requestOptions = [[PHImageRequestOptions alloc] init]; requestOptions.synchronous = YES; requestOptions.version = PHImageRequestOptionsVersionCurrent; then calling -[PHImageManager requestImageDataForAsset:options:resultHandler:] with an asset that was recently taken by the camera, with a filter applied at time of capture. This call is expected to return "the largest available representation of the image asset". Returning a thumbnail from this call breaks expectations and does not provide third-party developers with a consistent way to access high-resolution photo content. Note that passing a delivery mode of PHImageRequestOptionsDeliveryModeHighQualityFormat has no effect on this call. Steps to Reproduce: 1. Open the camera app and take a photo with filter applied at point of capture. 2. Request image data from the PHImageManager with PHImageRequestOptionsVersionCurrent. Expected Results: The call should return a high resolution version of the photo with filter applied. Actual Results: The call returns a thumbnail (640x852) with the filter applied. Calling the same method at a later point in time returns the expected result. Version: 8.0 (12A365) Notes: Configuration: iPhone 5 Attachments:
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!