Please follow the below mentioned steps in order to resolve the issue:-
1) Check the Picture size (Camera Capacity) in camera setting (It should be Max according to Camera Capacity).
2) Clear the Cache of the camera (setting>>apps>>camera>>storage>>clear data and cache).
3) Do the reset settings of the camera (camera>>setting>>reset setting).
For further assistance, register your concern in Samsung members app (click on “+“icon>send feedback>Error report/ Ask Questions).
Also, Thank you for your valuable feedback, we have taken your valuable feedback and will convey the relevant update as soon as possible.
Team Samsung Members