diff --git a/src/imageio.cs b/src/imageio.cs index e98abd6336f3..d71b42e4b289 100644 --- a/src/imageio.cs +++ b/src/imageio.cs @@ -1243,6 +1243,10 @@ interface CGImageProperties { [Field ("kCGImagePropertyImageCount")] NSString ImageCount { get; } + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyImageIndex")] + NSString ImageIndex { get; } + [Mac (10, 13), iOS (11,0), TV (11,0), Watch (4,0)] [Field ("kCGImagePropertyWidth")] NSString Width { get; } @@ -2051,6 +2055,50 @@ interface CGImageProperties { [MacCatalyst (14,1)] [Field ("kCGImagePropertyTGACompression")] NSString TgaCompression { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupImageIndexLeft")] + NSString GroupImageIndexLeft { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupImageIndexRight")] + NSString GroupImageIndexRight { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupImageIsAlternateImage")] + NSString GroupImageIsAlternateImage { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupImageIsLeftImage")] + NSString GroupImageIsLeftImage { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupImageIsRightImage")] + NSString GroupImageIsRightImage { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupImagesAlternate")] + NSString GroupImagesAlternate { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupIndex")] + NSString GroupIndex { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroups")] + NSString Groups { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupType")] + NSString GroupType { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupTypeStereoPair")] + NSString GroupTypeStereoPair { get; } + + [Mac (12, 0), iOS (15, 0), TV (15,0), MacCatalyst (15,0), Watch (8,0)] + [Field ("kCGImagePropertyGroupTypeAlternate")] + NSString GroupTypeAlternate { get; } } [iOS (7,0)] diff --git a/tests/xtro-sharpie/MacCatalyst-ImageIO.todo b/tests/xtro-sharpie/MacCatalyst-ImageIO.todo deleted file mode 100644 index a736db949f8c..000000000000 --- a/tests/xtro-sharpie/MacCatalyst-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageIndexLeft not bound -!missing-field! kCGImagePropertyGroupImageIndexRight not bound -!missing-field! kCGImagePropertyGroupImageIsAlternateImage not bound -!missing-field! kCGImagePropertyGroupImageIsLeftImage not bound -!missing-field! kCGImagePropertyGroupImageIsRightImage not bound -!missing-field! kCGImagePropertyGroupImagesAlternate not bound -!missing-field! kCGImagePropertyGroupIndex not bound -!missing-field! kCGImagePropertyGroups not bound -!missing-field! kCGImagePropertyGroupType not bound -!missing-field! kCGImagePropertyGroupTypeAlternate not bound -!missing-field! kCGImagePropertyGroupTypeStereoPair not bound -!missing-field! kCGImagePropertyImageIndex not bound diff --git a/tests/xtro-sharpie/iOS-ImageIO.todo b/tests/xtro-sharpie/iOS-ImageIO.todo deleted file mode 100644 index a736db949f8c..000000000000 --- a/tests/xtro-sharpie/iOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageIndexLeft not bound -!missing-field! kCGImagePropertyGroupImageIndexRight not bound -!missing-field! kCGImagePropertyGroupImageIsAlternateImage not bound -!missing-field! kCGImagePropertyGroupImageIsLeftImage not bound -!missing-field! kCGImagePropertyGroupImageIsRightImage not bound -!missing-field! kCGImagePropertyGroupImagesAlternate not bound -!missing-field! kCGImagePropertyGroupIndex not bound -!missing-field! kCGImagePropertyGroups not bound -!missing-field! kCGImagePropertyGroupType not bound -!missing-field! kCGImagePropertyGroupTypeAlternate not bound -!missing-field! kCGImagePropertyGroupTypeStereoPair not bound -!missing-field! kCGImagePropertyImageIndex not bound diff --git a/tests/xtro-sharpie/macOS-ImageIO.todo b/tests/xtro-sharpie/macOS-ImageIO.todo deleted file mode 100644 index a736db949f8c..000000000000 --- a/tests/xtro-sharpie/macOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageIndexLeft not bound -!missing-field! kCGImagePropertyGroupImageIndexRight not bound -!missing-field! kCGImagePropertyGroupImageIsAlternateImage not bound -!missing-field! kCGImagePropertyGroupImageIsLeftImage not bound -!missing-field! kCGImagePropertyGroupImageIsRightImage not bound -!missing-field! kCGImagePropertyGroupImagesAlternate not bound -!missing-field! kCGImagePropertyGroupIndex not bound -!missing-field! kCGImagePropertyGroups not bound -!missing-field! kCGImagePropertyGroupType not bound -!missing-field! kCGImagePropertyGroupTypeAlternate not bound -!missing-field! kCGImagePropertyGroupTypeStereoPair not bound -!missing-field! kCGImagePropertyImageIndex not bound diff --git a/tests/xtro-sharpie/tvOS-ImageIO.todo b/tests/xtro-sharpie/tvOS-ImageIO.todo deleted file mode 100644 index a736db949f8c..000000000000 --- a/tests/xtro-sharpie/tvOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageIndexLeft not bound -!missing-field! kCGImagePropertyGroupImageIndexRight not bound -!missing-field! kCGImagePropertyGroupImageIsAlternateImage not bound -!missing-field! kCGImagePropertyGroupImageIsLeftImage not bound -!missing-field! kCGImagePropertyGroupImageIsRightImage not bound -!missing-field! kCGImagePropertyGroupImagesAlternate not bound -!missing-field! kCGImagePropertyGroupIndex not bound -!missing-field! kCGImagePropertyGroups not bound -!missing-field! kCGImagePropertyGroupType not bound -!missing-field! kCGImagePropertyGroupTypeAlternate not bound -!missing-field! kCGImagePropertyGroupTypeStereoPair not bound -!missing-field! kCGImagePropertyImageIndex not bound diff --git a/tests/xtro-sharpie/watchOS-ImageIO.todo b/tests/xtro-sharpie/watchOS-ImageIO.todo deleted file mode 100644 index a736db949f8c..000000000000 --- a/tests/xtro-sharpie/watchOS-ImageIO.todo +++ /dev/null @@ -1,12 +0,0 @@ -!missing-field! kCGImagePropertyGroupImageIndexLeft not bound -!missing-field! kCGImagePropertyGroupImageIndexRight not bound -!missing-field! kCGImagePropertyGroupImageIsAlternateImage not bound -!missing-field! kCGImagePropertyGroupImageIsLeftImage not bound -!missing-field! kCGImagePropertyGroupImageIsRightImage not bound -!missing-field! kCGImagePropertyGroupImagesAlternate not bound -!missing-field! kCGImagePropertyGroupIndex not bound -!missing-field! kCGImagePropertyGroups not bound -!missing-field! kCGImagePropertyGroupType not bound -!missing-field! kCGImagePropertyGroupTypeAlternate not bound -!missing-field! kCGImagePropertyGroupTypeStereoPair not bound -!missing-field! kCGImagePropertyImageIndex not bound