Preview: Exporting HEIC with LossyCompressionQuality of 1.0 creates empty file on 14.4RC

Originator:xhruso00
Number:rdar://FB13676867 Date Originated:7/3/2024
Status:Open Resolved:
Product:macOS Product Version:14.4RC
Classification:Bug Reproducible:Always
 
Steps to reproduce:
1. Open PNG file using preview
2. Select File->Export, move slider to right (lossless quality; kCGImageDestinationLossyCompressionQuality 1.0)
3. Click Export

Expected Behaviour:
HEIC Image File

Current behavior:
Empty File created. File with 0 bytes.

Same behaviour happens upon calling CGImageDestinationFinalize with image metadata @{kCGImageDestinationLossyCompressionQuality: 1.0}

Comments

Fixed in normal release


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!