开发者

Enable HDR Option for UIImagePickerController

开发者 https://www.devze.com 2023-01-17 18:27 出处:网络
Is it even possible to enable the HDR option from within my application? I assumed it would be there automatically. I looked for additional mediaTypes, thinking maybe kUTTypeHDRImage might be an optio

Is it even possible to enable the HDR option from within my application? I assumed it would be there automatically. I looked for additional mediaTypes, thinking maybe kUTTypeHDRImage might be an option, but no such luck. It's not an additional source type, n开发者_如何转开发or is it available through cameraCaptureMode.

ipc.sourceType = UIImagePickerControllerSourceTypeCamera;
ipc.mediaTypes = [NSArray arrayWithObject:(NSString *)kUTTypeImage];

No mention of it in the documentation: http://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html


The HDR option is specific to the Camera app and is not available through the API.

You should file an enhancement request at http://bugreport.apple.com.


It's not a separate media type; it's still an image, and (to my knowledge) still a JPEG. I think what Camera is doing is taking multiple images at different exposure levels and combining them together; that's why it takes so long.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号