RedApparat / Fotoapparat

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

Camera1 preview is darker comparing to stock camera app #95

Closed friendoye closed 6 years ago

friendoye commented 7 years ago

I don't know how is it possible, but Fotoapparat preview seems darker comparing to stock camera app or another camera lib (Camera-Kit).

Seems like it's not depend on Android version or manufacture, but if you would like to get more info I'll add more detailed explanation of the problem.

friendoye commented 7 years ago

After my small investigation I've figured out, that using higher FPS for previewFpsRange() causes frames be more darker.

Diolor commented 6 years ago

Interesting to know. Should we close this issue as it's "expected behavior" from the camera API or the hardware?

dmitry-zaitsev commented 6 years ago

I believe it is an expected behavior. Also you might notice that other camera apps are cranking up the brightness of the screen when you open them.

valterh4ck3r commented 6 years ago

How to change brightness camera ?

Diolor commented 6 years ago

What is brightness @valterh4ck3r ?

valterh4ck3r commented 6 years ago

Camera1 preview is darker comparing to stock camera app...

How to fix this ?

I'm use this in Fotoapparat build.

.previewFpsRange(highestFps())
.sensorSensitivity(highestSensorSensitivity())
Diolor commented 6 years ago

Try remove .sensorSensitivity(highestSensorSensitivity())

friendoye commented 6 years ago

From my experience, setting previewFpsRange(lowestFps()) should make preview brighter.

valterh4ck3r commented 6 years ago

Really, it's true... Thanks @friendoye