Documentation Archive Developer
Search

ImageIO Changes for Objective-C

ImageIO

CGImageDestination.h

Declaration
From
void CGImageDestinationAddImage (
    CGImageDestinationRef idst,
    CGImageRef image,
    CFDictionaryRef properties
);
To
void CGImageDestinationAddImage (
    CGImageDestinationRef _Nonnull idst,
    CGImageRef _Nonnull image,
    CFDictionaryRef _Nullable properties
);

Declaration
From
void CGImageDestinationAddImageAndMetadata (
    CGImageDestinationRef idst,
    CGImageRef image,
    CGImageMetadataRef metadata,
    CFDictionaryRef options
);
To
void CGImageDestinationAddImageAndMetadata (
    CGImageDestinationRef _Nonnull idst,
    CGImageRef _Nonnull image,
    CGImageMetadataRef _Nullable metadata,
    CFDictionaryRef _Nullable options
);

Declaration
From
void CGImageDestinationAddImageFromSource (
    CGImageDestinationRef idst,
    CGImageSourceRef isrc,
    size_t index,
    CFDictionaryRef properties
);
To
void CGImageDestinationAddImageFromSource (
    CGImageDestinationRef _Nonnull idst,
    CGImageSourceRef _Nonnull isrc,
    size_t index,
    CFDictionaryRef _Nullable properties
);

Declaration
From
bool CGImageDestinationCopyImageSource (
    CGImageDestinationRef idst,
    CGImageSourceRef isrc,
    CFDictionaryRef options,
    CFErrorRef *err
);
To
bool CGImageDestinationCopyImageSource (
    CGImageDestinationRef _Nonnull idst,
    CGImageSourceRef _Nonnull isrc,
    CFDictionaryRef _Nullable options,
    CFErrorRef  _Nullable * _Nullable err
);

Declaration
From
CFArrayRef CGImageDestinationCopyTypeIdentifiers (
    void
);
To
CFArrayRef _Nonnull CGImageDestinationCopyTypeIdentifiers (
    void
);

Declaration
From
CGImageDestinationRef CGImageDestinationCreateWithData (
    CFMutableDataRef data,
    CFStringRef type,
    size_t count,
    CFDictionaryRef options
);
To
CGImageDestinationRef _Nullable CGImageDestinationCreateWithData (
    CFMutableDataRef _Nonnull data,
    CFStringRef _Nonnull type,
    size_t count,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGImageDestinationRef CGImageDestinationCreateWithDataConsumer (
    CGDataConsumerRef consumer,
    CFStringRef type,
    size_t count,
    CFDictionaryRef options
);
To
CGImageDestinationRef _Nullable CGImageDestinationCreateWithDataConsumer (
    CGDataConsumerRef _Nonnull consumer,
    CFStringRef _Nonnull type,
    size_t count,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGImageDestinationRef CGImageDestinationCreateWithURL (
    CFURLRef url,
    CFStringRef type,
    size_t count,
    CFDictionaryRef options
);
To
CGImageDestinationRef _Nullable CGImageDestinationCreateWithURL (
    CFURLRef _Nonnull url,
    CFStringRef _Nonnull type,
    size_t count,
    CFDictionaryRef _Nullable options
);

Declaration
From
bool CGImageDestinationFinalize (
    CGImageDestinationRef idst
);
To
bool CGImageDestinationFinalize (
    CGImageDestinationRef _Nonnull idst
);

Declaration
From
void CGImageDestinationSetProperties (
    CGImageDestinationRef idst,
    CFDictionaryRef properties
);
To
void CGImageDestinationSetProperties (
    CGImageDestinationRef _Nonnull idst,
    CFDictionaryRef _Nullable properties
);

CGImageMetadata.h

Declaration
From
CFStringRef CGImageMetadataCopyStringValueWithPath (
    CGImageMetadataRef metadata,
    CGImageMetadataTagRef parent,
    CFStringRef path
);
To
CFStringRef _Nullable CGImageMetadataCopyStringValueWithPath (
    CGImageMetadataRef _Nonnull metadata,
    CGImageMetadataTagRef _Nullable parent,
    CFStringRef _Nonnull path
);

Declaration
From
CGImageMetadataTagRef CGImageMetadataCopyTagMatchingImageProperty (
    CGImageMetadataRef metadata,
    CFStringRef dictionaryName,
    CFStringRef propertyName
);
To
CGImageMetadataTagRef _Nullable CGImageMetadataCopyTagMatchingImageProperty (
    CGImageMetadataRef _Nonnull metadata,
    CFStringRef _Nonnull dictionaryName,
    CFStringRef _Nonnull propertyName
);

Declaration
From
CFArrayRef CGImageMetadataCopyTags (
    CGImageMetadataRef metadata
);
To
CFArrayRef _Nullable CGImageMetadataCopyTags (
    CGImageMetadataRef _Nonnull metadata
);

Declaration
From
CGImageMetadataTagRef CGImageMetadataCopyTagWithPath (
    CGImageMetadataRef metadata,
    CGImageMetadataTagRef parent,
    CFStringRef path
);
To
CGImageMetadataTagRef _Nullable CGImageMetadataCopyTagWithPath (
    CGImageMetadataRef _Nonnull metadata,
    CGImageMetadataTagRef _Nullable parent,
    CFStringRef _Nonnull path
);

Declaration
From
CGImageMetadataRef CGImageMetadataCreateFromXMPData (
    CFDataRef data
);
To
CGImageMetadataRef _Nullable CGImageMetadataCreateFromXMPData (
    CFDataRef _Nonnull data
);

Declaration
From
CGMutableImageMetadataRef CGImageMetadataCreateMutable (
    void
);
To
CGMutableImageMetadataRef _Nonnull CGImageMetadataCreateMutable (
    void
);

Declaration
From
CGMutableImageMetadataRef CGImageMetadataCreateMutableCopy (
    CGImageMetadataRef metadata
);
To
CGMutableImageMetadataRef _Nullable CGImageMetadataCreateMutableCopy (
    CGImageMetadataRef _Nonnull metadata
);

Declaration
From
CFDataRef CGImageMetadataCreateXMPData (
    CGImageMetadataRef metadata,
    CFDictionaryRef options
);
To
CFDataRef _Nullable CGImageMetadataCreateXMPData (
    CGImageMetadataRef _Nonnull metadata,
    CFDictionaryRef _Nullable options
);

Declaration
From
void CGImageMetadataEnumerateTagsUsingBlock (
    CGImageMetadataRef metadata,
    CFStringRef rootPath,
    CFDictionaryRef options,
    CGImageMetadataTagBlock block
);
To
void CGImageMetadataEnumerateTagsUsingBlock (
    CGImageMetadataRef _Nonnull metadata,
    CFStringRef _Nullable rootPath,
    CFDictionaryRef _Nullable options,
    CGImageMetadataTagBlock _Nonnull block
);

Declaration
From
bool CGImageMetadataRegisterNamespaceForPrefix (
    CGMutableImageMetadataRef metadata,
    CFStringRef xmlns,
    CFStringRef prefix,
    CFErrorRef *err
);
To
bool CGImageMetadataRegisterNamespaceForPrefix (
    CGMutableImageMetadataRef _Nonnull metadata,
    CFStringRef _Nonnull xmlns,
    CFStringRef _Nonnull prefix,
    CFErrorRef  _Nullable * _Nullable err
);

Declaration
From
bool CGImageMetadataRemoveTagWithPath (
    CGMutableImageMetadataRef metadata,
    CGImageMetadataTagRef parent,
    CFStringRef path
);
To
bool CGImageMetadataRemoveTagWithPath (
    CGMutableImageMetadataRef _Nonnull metadata,
    CGImageMetadataTagRef _Nullable parent,
    CFStringRef _Nonnull path
);

Declaration
From
bool CGImageMetadataSetTagWithPath (
    CGMutableImageMetadataRef metadata,
    CGImageMetadataTagRef parent,
    CFStringRef path,
    CGImageMetadataTagRef tag
);
To
bool CGImageMetadataSetTagWithPath (
    CGMutableImageMetadataRef _Nonnull metadata,
    CGImageMetadataTagRef _Nullable parent,
    CFStringRef _Nonnull path,
    CGImageMetadataTagRef _Nonnull tag
);

Declaration
From
bool CGImageMetadataSetValueMatchingImageProperty (
    CGMutableImageMetadataRef metadata,
    CFStringRef dictionaryName,
    CFStringRef propertyName,
    CFTypeRef value
);
To
bool CGImageMetadataSetValueMatchingImageProperty (
    CGMutableImageMetadataRef _Nonnull metadata,
    CFStringRef _Nonnull dictionaryName,
    CFStringRef _Nonnull propertyName,
    CFTypeRef _Nonnull value
);

Declaration
From
bool CGImageMetadataSetValueWithPath (
    CGMutableImageMetadataRef metadata,
    CGImageMetadataTagRef parent,
    CFStringRef path,
    CFTypeRef value
);
To
bool CGImageMetadataSetValueWithPath (
    CGMutableImageMetadataRef _Nonnull metadata,
    CGImageMetadataTagRef _Nullable parent,
    CFStringRef _Nonnull path,
    CFTypeRef _Nonnull value
);

Declaration
From
CFStringRef CGImageMetadataTagCopyName (
    CGImageMetadataTagRef tag
);
To
CFStringRef _Nullable CGImageMetadataTagCopyName (
    CGImageMetadataTagRef _Nonnull tag
);

Declaration
From
CFStringRef CGImageMetadataTagCopyNamespace (
    CGImageMetadataTagRef tag
);
To
CFStringRef _Nullable CGImageMetadataTagCopyNamespace (
    CGImageMetadataTagRef _Nonnull tag
);

Declaration
From
CFStringRef CGImageMetadataTagCopyPrefix (
    CGImageMetadataTagRef tag
);
To
CFStringRef _Nullable CGImageMetadataTagCopyPrefix (
    CGImageMetadataTagRef _Nonnull tag
);

Declaration
From
CFArrayRef CGImageMetadataTagCopyQualifiers (
    CGImageMetadataTagRef tag
);
To
CFArrayRef _Nullable CGImageMetadataTagCopyQualifiers (
    CGImageMetadataTagRef _Nonnull tag
);

Declaration
From
CFTypeRef CGImageMetadataTagCopyValue (
    CGImageMetadataTagRef tag
);
To
CFTypeRef _Nullable CGImageMetadataTagCopyValue (
    CGImageMetadataTagRef _Nonnull tag
);

Declaration
From
CGImageMetadataTagRef CGImageMetadataTagCreate (
    CFStringRef xmlns,
    CFStringRef prefix,
    CFStringRef name,
    CGImageMetadataType type,
    CFTypeRef value
);
To
CGImageMetadataTagRef _Nullable CGImageMetadataTagCreate (
    CFStringRef _Nonnull xmlns,
    CFStringRef _Nullable prefix,
    CFStringRef _Nonnull name,
    CGImageMetadataType type,
    CFTypeRef _Nonnull value
);

Declaration
From
CGImageMetadataType CGImageMetadataTagGetType (
    CGImageMetadataTagRef tag
);
To
CGImageMetadataType CGImageMetadataTagGetType (
    CGImageMetadataTagRef _Nonnull tag
);

CGImageProperties.h

CGImageSource.h

Declaration
From
CGImageMetadataRef CGImageSourceCopyMetadataAtIndex (
    CGImageSourceRef isrc,
    size_t index,
    CFDictionaryRef options
);
To
CGImageMetadataRef _Nullable CGImageSourceCopyMetadataAtIndex (
    CGImageSourceRef _Nonnull isrc,
    size_t index,
    CFDictionaryRef _Nullable options
);

Declaration
From
CFDictionaryRef CGImageSourceCopyProperties (
    CGImageSourceRef isrc,
    CFDictionaryRef options
);
To
CFDictionaryRef _Nullable CGImageSourceCopyProperties (
    CGImageSourceRef _Nonnull isrc,
    CFDictionaryRef _Nullable options
);

Declaration
From
CFDictionaryRef CGImageSourceCopyPropertiesAtIndex (
    CGImageSourceRef isrc,
    size_t index,
    CFDictionaryRef options
);
To
CFDictionaryRef _Nullable CGImageSourceCopyPropertiesAtIndex (
    CGImageSourceRef _Nonnull isrc,
    size_t index,
    CFDictionaryRef _Nullable options
);

Declaration
From
CFArrayRef CGImageSourceCopyTypeIdentifiers (
    void
);
To
CFArrayRef _Nonnull CGImageSourceCopyTypeIdentifiers (
    void
);

Declaration
From
CGImageRef CGImageSourceCreateImageAtIndex (
    CGImageSourceRef isrc,
    size_t index,
    CFDictionaryRef options
);
To
CGImageRef _Nullable CGImageSourceCreateImageAtIndex (
    CGImageSourceRef _Nonnull isrc,
    size_t index,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGImageSourceRef CGImageSourceCreateIncremental (
    CFDictionaryRef options
);
To
CGImageSourceRef _Nonnull CGImageSourceCreateIncremental (
    CFDictionaryRef _Nullable options
);

Declaration
From
CGImageRef CGImageSourceCreateThumbnailAtIndex (
    CGImageSourceRef isrc,
    size_t index,
    CFDictionaryRef options
);
To
CGImageRef _Nullable CGImageSourceCreateThumbnailAtIndex (
    CGImageSourceRef _Nonnull isrc,
    size_t index,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGImageSourceRef CGImageSourceCreateWithData (
    CFDataRef data,
    CFDictionaryRef options
);
To
CGImageSourceRef _Nullable CGImageSourceCreateWithData (
    CFDataRef _Nonnull data,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGImageSourceRef CGImageSourceCreateWithDataProvider (
    CGDataProviderRef provider,
    CFDictionaryRef options
);
To
CGImageSourceRef _Nullable CGImageSourceCreateWithDataProvider (
    CGDataProviderRef _Nonnull provider,
    CFDictionaryRef _Nullable options
);

Declaration
From
CGImageSourceRef CGImageSourceCreateWithURL (
    CFURLRef url,
    CFDictionaryRef options
);
To
CGImageSourceRef _Nullable CGImageSourceCreateWithURL (
    CFURLRef _Nonnull url,
    CFDictionaryRef _Nullable options
);

Declaration
From
size_t CGImageSourceGetCount (
    CGImageSourceRef isrc
);
To
size_t CGImageSourceGetCount (
    CGImageSourceRef _Nonnull isrc
);

Declaration
From
CGImageSourceStatus CGImageSourceGetStatus (
    CGImageSourceRef isrc
);
To
CGImageSourceStatus CGImageSourceGetStatus (
    CGImageSourceRef _Nonnull isrc
);

Declaration
From
CGImageSourceStatus CGImageSourceGetStatusAtIndex (
    CGImageSourceRef isrc,
    size_t index
);
To
CGImageSourceStatus CGImageSourceGetStatusAtIndex (
    CGImageSourceRef _Nonnull isrc,
    size_t index
);

Declaration
From
CFStringRef CGImageSourceGetType (
    CGImageSourceRef isrc
);
To
CFStringRef _Nullable CGImageSourceGetType (
    CGImageSourceRef _Nonnull isrc
);

Declaration
From
void CGImageSourceRemoveCacheAtIndex (
    CGImageSourceRef isrc,
    size_t index
);
To
void CGImageSourceRemoveCacheAtIndex (
    CGImageSourceRef _Nonnull isrc,
    size_t index
);

Declaration
From
void CGImageSourceUpdateData (
    CGImageSourceRef isrc,
    CFDataRef data,
    bool final
);
To
void CGImageSourceUpdateData (
    CGImageSourceRef _Nonnull isrc,
    CFDataRef _Nonnull data,
    bool final
);

Declaration
From
void CGImageSourceUpdateDataProvider (
    CGImageSourceRef isrc,
    CGDataProviderRef provider,
    bool final
);
To
void CGImageSourceUpdateDataProvider (
    CGImageSourceRef _Nonnull isrc,
    CGDataProviderRef _Nonnull provider,
    bool final
);

ImageIOBase.h

Added #def IIO_BRIDGED_TYPE