Create an incremental image source.
SDKs
- iOS 4.0+
- macOS 10.4+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- Image I/O
Declaration
CGImage Source Ref CGImageSourceCreateIncremental(CFDictionary Ref options);
Parameters
options
A dictionary that specifies additional creation options. See Image Source Option Dictionary Keys for the keys you can supply.
Return Value
Returns an image source object. You are responsible for releasing this object using CFRelease
.
Discussion
The function CGImage
creates an empty image source container to which you can add data later by calling the functions CGImage
or CGImage
. You don’t provide data when you call this function.
An incremental image is an image that is created in chunks, similar to the way large images viewed over the web are loaded piece by piece.