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) Perform the reset camera settings (Open camera app> Camera settings >reset setting).
3) check the Picture size (Camera Capacity) in camera setting (It should be Max according to Camera Capacity) or check by changing the aspect ratio.
4) 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