Post

Replies

Boosts

Views

Activity

Comment on When saving a 48MP image, CGImageDestinationFinalize consumes a large amount of memory. Are there any optimization methods available?
Yes, these 48MP images from AVCaptureSession with AVCapturePhotoOutput. I will store it with heic or jpeg format. is there a way can write 48MP to file without CGImageDestination and it could modified metadata(exif info)? and I researched it for a while. were you referring this photo.fileDataRepresentation(with: AVCapturePhotoFileDataRepresentationCustomizer)?
Jul ’25