Please follow the below mentioned steps in order to resolve the issue:-
1) Clear the Cache of the camera (setting>>apps>>camera>>storage>>clear data and cache).
2) Check Picture size (Camera Capacity) in camera setting (It should be Max according to Camera Capacity) or check by changing the aspect ratio.
3) Turn on/off the Auto flash as per requirement.
For further assistance, register your concern in Samsung members app (click on “+“icon>send feedback>Error report/ Ask Questions).
Team Samsung Members