XMP data are not written to PNG images (CGImageDestinationAddImageAndMetadata API)
| Originator: | raphael | ||
| Number: | rdar://15431893 | Date Originated: | 09-Nov-2013 04:58 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | iOS 7.0.3 |
| Classification: | Other Bug | Reproducible: | Always |
Summary: When using Image IO API to write PNG files with custom embedded XMP data, written PNG files don't contain the XMP data. This works as expected for TIFF and JPEG files. As the XMP norm is compatible with PNG files, it is expected that the Image IO API be able to write such XMP data into PNG files. APIs used: CGImageDestinationCreateWithURL CGImageMetadataCreateMutable CGImageMetadataRegisterNamespaceForPrefix CGImageMetadataSetValueWithPath CGImageDestinationAddImageAndMetadata CGImageDestinationFinalize
Comments
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!