<!--
{
  "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/CGImageSourceGetStatus(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Image I/O"
    ],
    "preciseIdentifier" : "c:@F@CGImageSourceGetStatus"
  },
  "title" : "CGImageSourceGetStatus(_:)"
}
-->

# CGImageSourceGetStatus(_:)

Return the status of an image source.

```
func CGImageSourceGetStatus(_ isrc: CGImageSource) -> CGImageSourceStatus
```

## Parameters

`isrc`

The image source that contains the image data.

## Return Value

Returns the current status of the image source. See [`CGImageSourceStatus`](/documentation/ImageIO/CGImageSourceStatus) for a list of possible values.

## Discussion

Status information is particularly informative for incremental image sources, but it may also be useful on image sources that contain non-incremental data.

---

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)