HDR or High Dynamic Range, as its name implies, is a method that aims to add more "dynamic range" to photographs, where dynamic range is the ratio of light to dark in a photograph. Instead of just taking one photo, HDR uses three photos, taken at different exposures and combines them. You can read more about HDR here.
https://lifehacker.com/5991508/what-is-hdr-and-when-should-i-use-it-in-my-photos
I was wondering how we can do HDR processing to a photo. To be clear, I don't want to take a photo within my app using HDR mode. I want to apply HDR effect to an existing photo.
I found a couple of image processing libraries that have HDR included in them.
https://android-arsenal.com/details/1/298
https://github.com/alhazmy13/ImageFilters
Also a stackoverflow post that tries to explain the logic behind HDR algorithm.
https://stackoverflow.com/questions/11115278/how-does-hdr-worked-how-to-make-hdr-effect
Hopefully someone will be able to come with a solution for B4A.