<!--
{
  "availability" : [
    "iOS: 4.0.0 -",
    "iPadOS: 4.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImageIO",
  "identifier" : "/documentation/ImageIO/CGImageSourceCreateIncremental(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Image I/O"
    ],
    "preciseIdentifier" : "c:@F@CGImageSourceCreateIncremental"
  },
  "title" : "CGImageSourceCreateIncremental(_:)"
}
-->

# CGImageSourceCreateIncremental(_:)

Creates an empty image source that you can use to accumulate incremental image data.

```
func CGImageSourceCreateIncremental(_ options: CFDictionary?) -> CGImageSource
```

## Parameters

`options`

A dictionary that specifies additional creation options. For a list of possible values, see [`Specifying the Read Options`](/documentation/ImageIO/CGImageSource#Specifying-the-Read-Options).

## Return Value

An empty image source object. You’re responsible for releasing this type using <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease>.

## Discussion

This function creates an empty image source container, which you use to accumulate data downloaded in chunks from the network. To add new chunks of data to the image source, call the [`CGImageSourceUpdateDataProvider(_:_:_:)`](/documentation/ImageIO/CGImageSourceUpdateDataProvider(_:_:_:)) or [`CGImageSourceUpdateData(_:_:_:)`](/documentation/ImageIO/CGImageSourceUpdateData(_:_:_:)) functions.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)