<!--
{
  "documentType" : "article",
  "framework" : "CoreVideo",
  "identifier" : "/documentation/CoreVideo/image-buffer-pixel-aspect-ratio-keys",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Image Buffer Pixel Aspect Ratio Keys"
}
-->

# Image Buffer Pixel Aspect Ratio Keys

Keys that describe the pixel aspect ratio of an image buffer.

## Discussion

Define these key-value pairs in a <doc://com.apple.documentation/documentation/CoreFoundation/CFDictionary> instance and use the [`kCVImageBufferPixelAspectRatioKey`](/documentation/CoreVideo/kCVImageBufferPixelAspectRatioKey) key to attach it to the image buffer.

## Topics

### Constants

[`let kCVImageBufferPixelAspectRatioHorizontalSpacingKey: CFString`](/documentation/CoreVideo/kCVImageBufferPixelAspectRatioHorizontalSpacingKey)

A key to the horizontal component of the image buffer aspect ratio.

[`let kCVImageBufferPixelAspectRatioVerticalSpacingKey: CFString`](/documentation/CoreVideo/kCVImageBufferPixelAspectRatioVerticalSpacingKey)

A key to the vertical component of the image buffer aspect ratio.



---

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)