ImageIO Changes for Swift
ImageIO
Modified CGImageMetadataErrors [enum]
| Declaration | |
|---|---|
| From | enum CGImageMetadataErrors : Int32 {
case Unknown
case UnsupportedFormat
case BadArgument
case ConflictingArguments
case PrefixConflict
} |
| To | enum CGImageMetadataErrors : Int32 {
case unknown
case unsupportedFormat
case badArgument
case conflictingArguments
case prefixConflict
} |
Modified CGImageMetadataErrors.badArgument
| Declaration | |
|---|---|
| From | case BadArgument |
| To | case badArgument |
| Declaration | |
|---|---|
| From | case ConflictingArguments |
| To | case conflictingArguments |
Modified CGImageMetadataErrors.prefixConflict
| Declaration | |
|---|---|
| From | case PrefixConflict |
| To | case prefixConflict |
Modified CGImageMetadataErrors.unknown
| Declaration | |
|---|---|
| From | case Unknown |
| To | case unknown |
| Declaration | |
|---|---|
| From | case UnsupportedFormat |
| To | case unsupportedFormat |
Modified CGImageMetadataType [enum]
| Declaration | |
|---|---|
| From | enum CGImageMetadataType : Int32 {
case Invalid
case Default
case String
case ArrayUnordered
case ArrayOrdered
case AlternateArray
case AlternateText
case Structure
} |
| To | enum CGImageMetadataType : Int32 {
case invalid
case `default`
case string
case arrayUnordered
case arrayOrdered
case alternateArray
case alternateText
case structure
} |
Modified CGImageMetadataType.alternateArray
| Declaration | |
|---|---|
| From | case AlternateArray |
| To | case alternateArray |
Modified CGImageMetadataType.alternateText
| Declaration | |
|---|---|
| From | case AlternateText |
| To | case alternateText |
Modified CGImageMetadataType.arrayOrdered
| Declaration | |
|---|---|
| From | case ArrayOrdered |
| To | case arrayOrdered |
Modified CGImageMetadataType.arrayUnordered
| Declaration | |
|---|---|
| From | case ArrayUnordered |
| To | case arrayUnordered |
Modified CGImageMetadataType.default
| Declaration | |
|---|---|
| From | case Default |
| To | case `default` |
Modified CGImageMetadataType.invalid
| Declaration | |
|---|---|
| From | case Invalid |
| To | case invalid |
Modified CGImageMetadataType.string
| Declaration | |
|---|---|
| From | case String |
| To | case string |
Modified CGImageMetadataType.structure
| Declaration | |
|---|---|
| From | case Structure |
| To | case structure |
Modified CGImagePropertyOrientation [enum]
| Declaration | |
|---|---|
| From | enum CGImagePropertyOrientation : UInt32 {
case Up
case UpMirrored
case Down
case DownMirrored
case LeftMirrored
case Right
case RightMirrored
case Left
} |
| To | enum CGImagePropertyOrientation : UInt32 {
case up
case upMirrored
case down
case downMirrored
case leftMirrored
case right
case rightMirrored
case left
} |
Modified CGImagePropertyOrientation.down
| Declaration | |
|---|---|
| From | case Down |
| To | case down |
| Declaration | |
|---|---|
| From | case DownMirrored |
| To | case downMirrored |
Modified CGImagePropertyOrientation.left
| Declaration | |
|---|---|
| From | case Left |
| To | case left |
| Declaration | |
|---|---|
| From | case LeftMirrored |
| To | case leftMirrored |
Modified CGImagePropertyOrientation.right
| Declaration | |
|---|---|
| From | case Right |
| To | case right |
| Declaration | |
|---|---|
| From | case RightMirrored |
| To | case rightMirrored |
Modified CGImagePropertyOrientation.up
| Declaration | |
|---|---|
| From | case Up |
| To | case up |
| Declaration | |
|---|---|
| From | case UpMirrored |
| To | case upMirrored |
Modified CGImageSourceStatus [enum]
| Declaration | |
|---|---|
| From | enum CGImageSourceStatus : Int32 {
case StatusUnexpectedEOF
case StatusInvalidData
case StatusUnknownType
case StatusReadingHeader
case StatusIncomplete
case StatusComplete
} |
| To | enum CGImageSourceStatus : Int32 {
case statusUnexpectedEOF
case statusInvalidData
case statusUnknownType
case statusReadingHeader
case statusIncomplete
case statusComplete
} |
Modified CGImageSourceStatus.statusComplete
| Declaration | |
|---|---|
| From | case StatusComplete |
| To | case statusComplete |
Modified CGImageSourceStatus.statusIncomplete
| Declaration | |
|---|---|
| From | case StatusIncomplete |
| To | case statusIncomplete |
| Declaration | |
|---|---|
| From | case StatusInvalidData |
| To | case statusInvalidData |
| Declaration | |
|---|---|
| From | case StatusReadingHeader |
| To | case statusReadingHeader |
| Declaration | |
|---|---|
| From | case StatusUnexpectedEOF |
| To | case statusUnexpectedEOF |
| Declaration | |
|---|---|
| From | case StatusUnknownType |
| To | case statusUnknownType |
| Declaration | |
|---|---|
| From | func CGImageDestinationCopyImageSource(_ idst: CGImageDestination, _ isrc: CGImageSource, _ options: CFDictionary?, _ err: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool |
| To | func CGImageDestinationCopyImageSource(_ idst: CGImageDestination, _ isrc: CGImageSource, _ options: CFDictionary?, _ err: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> Bool |
| Declaration | |
|---|---|
| From | func CGImageMetadataEnumerateTagsUsingBlock(_ metadata: CGImageMetadata, _ rootPath: CFString?, _ options: CFDictionary?, _ block: CGImageMetadataTagBlock) |
| To | func CGImageMetadataEnumerateTagsUsingBlock(_ metadata: CGImageMetadata, _ rootPath: CFString?, _ options: CFDictionary?, _ block: ImageIO.CGImageMetadataTagBlock) |
| Declaration | |
|---|---|
| From | func CGImageMetadataRegisterNamespaceForPrefix(_ metadata: CGMutableImageMetadata, _ xmlns: CFString, _ prefix: CFString, _ err: UnsafeMutablePointer<Unmanaged<CFError>?>) -> Bool |
| To | func CGImageMetadataRegisterNamespaceForPrefix(_ metadata: CGMutableImageMetadata, _ xmlns: CFString, _ prefix: CFString, _ err: UnsafeMutablePointer<Unmanaged<CFError>?>?) -> Bool |
| Declaration | |
|---|---|
| From | func CGImageMetadataSetValueMatchingImageProperty(_ metadata: CGMutableImageMetadata, _ dictionaryName: CFString, _ propertyName: CFString, _ value: AnyObject) -> Bool |
| To | func CGImageMetadataSetValueMatchingImageProperty(_ metadata: CGMutableImageMetadata, _ dictionaryName: CFString, _ propertyName: CFString, _ value: CFTypeRef) -> Bool |
| Declaration | |
|---|---|
| From | func CGImageMetadataSetValueWithPath(_ metadata: CGMutableImageMetadata, _ parent: CGImageMetadataTag?, _ path: CFString, _ value: AnyObject) -> Bool |
| To | func CGImageMetadataSetValueWithPath(_ metadata: CGMutableImageMetadata, _ parent: CGImageMetadataTag?, _ path: CFString, _ value: CFTypeRef) -> Bool |
| Declaration | |
|---|---|
| From | func CGImageMetadataTagCopyValue(_ tag: CGImageMetadataTag) -> AnyObject? |
| To | func CGImageMetadataTagCopyValue(_ tag: CGImageMetadataTag) -> CFTypeRef? |
| Declaration | |
|---|---|
| From | func CGImageMetadataTagCreate(_ xmlns: CFString, _ prefix: CFString?, _ name: CFString, _ type: CGImageMetadataType, _ value: AnyObject) -> CGImageMetadataTag? |
| To | func CGImageMetadataTagCreate(_ xmlns: CFString, _ prefix: CFString?, _ name: CFString, _ type: CGImageMetadataType, _ value: CFTypeRef) -> CGImageMetadataTag? |