Contents

imageResolution

The width and height, in pixels, of the captured camera image.

Declaration

var imageResolution: CGSize { get }

Discussion

This size describes the image in the capturedImage buffer, which contains image data in the camera device’s native sensor orientation. To convert image coordinates to match a specific display orientation of that image, use the viewMatrix(for:) or projectPoint(_:orientation:viewportSize:) method.

See Also

Examining Imaging Parameters