RedApparat / Fotoapparat

Making Camera for Android more friendly. 📸
Apache License 2.0
3.82k stars 408 forks source link

Customize aperture #39

Open Diolor opened 7 years ago

Diolor commented 7 years ago

From #21 focusing only on camera aperture

makovkastar commented 6 years ago

Is setting an aperture supported in Camera 1 API?

Diolor commented 6 years ago

Honestly, I have not investigated this at all. According to this SO post some phones support the aperture raw parameter, similar to how sensor sensitivity (iso) can be set.

Have you tried something or do you have any information that would be helpful here? Feel free to share!

makovkastar commented 6 years ago

This is the only way I have found so far too. Just wanted to ask you before starting the implementation of this feature.

makovkastar commented 6 years ago

I have tested the following devices:

None of them had the aperture or similar raw camera parameter. I'm not sure whether I can start working on this without having a phone that supports setting the aperture.

Diolor commented 6 years ago

That's sad. An interesting idea I had in order to test this library across device specifics was to try firebase farm. From there we can maybe investigate many device's raw settings and see if any of supports custom aperture.

Still, I give low chance. Probably most of the phone cameras have a fixed aperture.

makovkastar commented 6 years ago

Samsung Galaxy S9 and S9+ support variable aperture: https://www.cnet.com/how-to/how-samsung-galaxy-s9-variable-aperture-camera-works-mwc-2018/.