<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/CVImagePixelAspectRatio",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Core Video"
    ],
    "preciseIdentifier" : "s:9CoreVideo23CVImagePixelAspectRatioV"
  },
  "title" : "CVImagePixelAspectRatio"
}
-->

# CVImagePixelAspectRatio

Aspect ratio of each pixel in the image buffer.

```
@frozen struct CVImagePixelAspectRatio
```

## Topics

### Initializers

[`init(horizontalSpacing: Float, verticalSpacing: Float)`](/documentation/CoreVideo/CVImagePixelAspectRatio/init(horizontalSpacing:verticalSpacing:))

### Instance Properties

[`var horizontalSpacing: Float`](/documentation/CoreVideo/CVImagePixelAspectRatio/horizontalSpacing)

The horizontal component of the image buffer aspect ratio.

[`var verticalSpacing: Float`](/documentation/CoreVideo/CVImagePixelAspectRatio/verticalSpacing)

The vertical component of the image buffer aspect ratio.

## Relationships

### Conforms To

[`CVAttachmentValueRepresentable`](/documentation/CoreVideo/CVAttachmentValueRepresentable)

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

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

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

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

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

[`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)