Just as an aside and FYI there is another thread somewhere that discussed camera resolution and image quality and I think suggested using Open Camera App and setting the rear camera resolution lower than 50MP to get better quality images…
See this thread if of interest: