colorSpace
Swift declarationvar colorSpace: CGColorSpace? { get }Color space of the image if specified
protocol · iOS 26.0+ · SDK 27.1
protocol CVImageBufferRepresentable : CVBufferRepresentable, ~CopyableCVImageBufferRepresentable protocol is a sealed protocol intended to be implemented by the types in CoreVideo framework. This protocol facilitates Swift types that wrap a value of CVImageBuffer type.
var colorSpace: CGColorSpace? { get }Color space of the image if specified
var displaySize: CGSize { get }Nominal output display size (in square pixels) of a CVImageBuffer. For example, for an NTSC DV frame this would be 640x480
var encodedSize: CGSize { get }Full encoded dimensions of a CVImageBuffer. For example, for an NTSC DV frame this would be 720x480
var originPosition: CVImageBufferOriginPosition { get }Position of {0, 0} coordinates in the image
var cleanRect: CGRect { get }Source rectangle of a CVImageBuffer that represents the clean aperture of the buffer in encoded pixels. For example, an NTSC DV frame would return a CGRect with an origin of 8,0 and a size of 704,480. Note that the origin of this rect is always the lower left corner. This is the same coordinate system as used by CoreImage.
No declarations were skipped in this snapshot.