<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAI",
  "identifier" : "/documentation/CoreAI/ImageDescriptor",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core AI"
    ],
    "preciseIdentifier" : "s:13CoreAIRuntime15ImageDescriptorV"
  },
  "title" : "ImageDescriptor"
}
-->

# ImageDescriptor

A description of an image’s dimensions and pixel format.

```
struct ImageDescriptor
```

## Topics

### Inspecting image properties

[`pixelFormatType`](/documentation/CoreAI/ImageDescriptor/pixelFormatType)

The four-character code that identifies the pixel format.

[`width`](/documentation/CoreAI/ImageDescriptor/width)

The width of the image, in pixels.

[`height`](/documentation/CoreAI/ImageDescriptor/height)

The height of the image, in pixels.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)