tried to do a search but didn’t see this question anywhere. Is there a property in ALAsset that lets me know whether a specific image is HDR or not? thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not directly, but you can get the photo metadata from the ALAsset and check for the presence of the “CustomRendered” key. I believe that it’s set to a value higher than 1 for HDR images by the iPhone camera. Just tested and got one with a value of 3 but I’ve heard of people getting different values so your mileage may vary.