Skip to content

ImageIO iOS xcode26.0 b1

Rolf Bjarne Kvinge edited this page Aug 28, 2025 · 3 revisions

#ImageIO.framework https://github.com/dotnet/macios/pull/23484

diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h	2025-04-19 02:41:55 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h	2025-05-24 01:15:14 @@ -189,8 +189,29 @@ */ IMAGEIO_EXTERN const CFStringRef kCGImageDestinationOrientation IMAGEIO_AVAILABLE_STARTING(10.8, 7.0); +/* For KTX files: + * The key 'kCGImagePropertyEncoder' can be used with CGImageDestinationAddImage...() to specify the encoder to be used. + */ +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyEncoder IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyASTCEncoder IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyPVREncoder IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyBCEncoder IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); -/* Losslessly copies the contents of the image source, 'isrc', to the  +/* For BC / KTX(BC) / DDS files: + * Specifies the specific pixel format to be encoded. + * The value of this key must be an integer CFNumberRef, containing a OpenGL format enum. + */ +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyBCFormat IMAGEIO_AVAILABLE_STARTING(10.14, 12.0); + +/* For ASTC / KTX(ASTC) files: + * Specifies ASTC block size. + * The value of this key must be either kCGImagePropertyASTCBlockSize4x4 or kCGImagePropertyASTCBlockSize8x8. + */ +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyASTCBlockSize IMAGEIO_AVAILABLE_STARTING(10.12, 10.0); +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyASTCBlockSize4x4 IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyASTCBlockSize8x8 IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); + +/* Losslessly copies the contents of the image source, 'isrc', to the * destination, 'idst'. The image data will not be modified. The image's * metadata can be modified by adding the keys and values defined above to * 'options'. No other images should be added to the image destination. @@ -222,10 +243,18 @@ /* kCGImageSourceEncodeRequestOptions - CFDictionaryRef to specify additional options */ -IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeRequestOptions IMAGEIO_AVAILABLE_STARTING(15, 18.0, 18.0, 11.0); -IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeBaseIsSDR IMAGEIO_AVAILABLE_STARTING(15, 18.0, 18.0, 11.0); -IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeTonemapMode IMAGEIO_AVAILABLE_STARTING(15, 18.0, 18.0, 11.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeRequestOptions IMAGEIO_AVAILABLE_STARTING(15, 18.0, 18.0, 11.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeBaseIsSDR IMAGEIO_AVAILABLE_STARTING(15, 18.0, 18.0, 11.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeTonemapMode IMAGEIO_AVAILABLE_STARTING(15, 18.0, 18.0, 11.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeIsBaseImage IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeBaseColorSpace IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeBasePixelFormatRequest IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); + +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeGenerateGainMapWithBaseImage IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeGainMapPixelFormatRequest IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeGainMapSubsampleFactor IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); +IMAGEIO_EXTERN const CFStringRef kCGImageDestinationEncodeAlternateColorSpace IMAGEIO_AVAILABLE_STARTING(16, 19.0, 19.0, 12.0); CF_ASSUME_NONNULL_END diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h	2025-04-19 03:17:07 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h	2025-06-01 23:52:56 @@ -752,8 +752,13 @@ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonFirmware IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); IMAGEIO_EXTERN const CFStringRef kCGImagePropertyMakerCanonAspectRatioInfo IMAGEIO_AVAILABLE_STARTING(10.5, 4.0); -/* Possible keys for kCGImagePropertyOpenEXRDictionary */ +/* For EXR files: + * The value (CFNumberRef) specifies the EXR compression method. See AppleEXR.h for possible values. + * Default value if not specified is 'axr_compression_piz' + */ +IMAGEIO_EXTERN const CFStringRef kCGImagePropertyOpenEXRCompression IMAGEIO_AVAILABLE_STARTING(13.0, 16.1); +/* Possible keys for kCGImagePropertyOpenEXRDictionary */ IMAGEIO_EXTERN const CFStringRef kCGImagePropertyOpenEXRAspectRatio IMAGEIO_AVAILABLE_STARTING(10.9, 11.3); diff -ruN /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h --- /Applications/Xcode_16.4.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h	2025-04-19 01:39:02 +++ /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h	2025-06-01 23:57:16 @@ -253,6 +253,8 @@ */ IMAGEIO_EXTERN const CFStringRef kCGImageSourceDecodeRequestOptions IMAGEIO_AVAILABLE_STARTING(14.0, 17.0, 17.0, 10.0); +// HDR statistics +IMAGEIO_EXTERN const CFStringRef kCGComputeHDRStats IMAGEIO_AVAILABLE_STARTING(16.0, 19.0, 19.0, 12.0); /* To limit the image formats that ImageIO can decode, you can call 'CGImageSourceSetAllowableTypes' with * an array of type identifiers. 
Clone this wiki locally