Instance Property

videoZoomFactorUpscaleThreshold

Indicates the zoom factor at which pixel data is upscaled.

Declaration

var videoZoomFactorUpscaleThreshold: CGFloat { get }

Discussion

The device achieves a zoom effect by cropping around the center of the image captured by the sensor. At low zoom factors, the cropped images is equal to or larger than the output size. At higher zoom factors, the device must scale the cropped image up to the output size, resulting in a loss of image quality. This property indicates the factors at which upscaling will occur.

For more on device zoom controls, see Managing Zoom Settings.

See Also

Examining Zoom Attributes

var videoFieldOfView: Float

Indicates the format’s horizontal field of view in degrees.

var videoMaxZoomFactor: CGFloat

Indicates the maximum zoom factor allowed for the format.