Revision control

Copy as Markdown

// Copyright (C) 2026 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
/*!
//! [zoom]
On hardware that supports it, \l \1Camera lets you adjust the focus
and zoom. The \l minimumZoomFactor and \l maximumZoomFactor
properties provide the range of supported zoom factors. The
\l zoomFactor property allows changing the zoom factor.
//! [zoom]
//! [image-processing]
After capturing the raw data for a camera frame, the camera hardware and
software performs various image processing tasks to produce the final
image. This includes compensating for ambient light color, reducing
noise, as well as making some other adjustments to the image.
You can control many of these processing steps through the Camera properties.
For example, you can set the white balance (or color temperature) used
for processing images:
//! [image-processing]
//! [permission]
Most platforms require that the end-user grants permissions before a
camera can be activated. It is therefore strongly recommended that
application developers utilize the \l \1CameraPermission \2
when working with cameras. The following is a short example that requests
permissions from the end-user when the application starts, and then
activates the camera if permissions are granted.
//! [permission]
*/