On iOS 18 public beta, user issues with photo quality being degraded when taken in the camera app and getting error message of failing to produce high resolution image.
Camera/photo quality issues on iPhone 15 Pro with iOS 18 Public Beta
Have you raised a Feedback report? If not, please do so at https://www.apple.com/feedback/ then post the FB number here.