The one setting of the live picture: its quality. This is one of the 7 pages of the settings reference, which names every setting. Live view shows it at work in Studio, MCP, the CLI and Slate.
Read and write it with its typed getter and setter, or with setControl by id. A camera offers only some values of it: getCapabilities().controls lists them now. A setter refuses a value the camera does not offer with CameraRefusedError before sending anything; a getter throws CameraUnsupportedError when the setting is absent or does not apply in the current mode.
| Setting | Id | Getter and setter |
|---|---|---|
| Live-view quality | liveViewQuality | getLiveViewQuality setLiveViewQuality |
Live-view quality
The size and quality of live-view pictures: sharper, or faster.
The live-view picture's quality: High is sharper, Low lighter on the connection.
| Id | liveViewQuality, for setControl and getCapabilities().controls.liveViewQuality |
| Value type | LiveViewQuality |
| How to use it | Live view: Live-view quality |
| Search words | live view quality, preview quality, live view image quality, live view image size, live view size, live view resolution |
Values 3 named values. A camera offers only some of them: getCapabilities().controls.liveViewQuality.allowedValues lists which, right now.
Medium Low High
How the names are chosen
How the names are chosen
Each brand's own property and value, and the name Slate gives it:
| Vendor value | Slate value |
|---|---|
LiveViewImageQuality LOW | Low |
LiveViewImageQuality HIGH | High |
NikonLiveViewImageSize QVGA | Low |
NikonLiveViewImageSize VGA | Medium |
NikonLiveViewImageSize XGA | High |
Protocol properties
Protocol properties
The properties Slate reads and writes for it, by brand.
| Brand | Properties |
|---|---|
| Canon | CanonLiveViewQuality |
| Nikon | NikonLiveViewImageSize (0xd1ac) |
| Sony | LiveViewImageQuality (0xd26a) |
getLiveViewQuality
getLiveViewQuality(): Promise<LiveViewQuality> · MCP camera_get_live_view_quality · CLI darkgrade camera get-live-view-quality
setLiveViewQuality
MCP camera_set_live_view_quality · CLI darkgrade camera set-live-view-quality
setLiveViewQuality(
value: LiveViewQuality,
): Promise<LiveViewQuality>Refuses a value the camera does not offer before sending anything, and resolves to the value read back.
Other settings
How bright the picture is: shutter speed, ISO, aperture and the modes around them.
What a recording is: the photo or video mode, the format, quality and frame rate, and sound.
What a photo is and how it is taken: drive mode, shutter type and flash, and the file the camera writes.
The colour of the light and how the camera renders it: white balance, colour temperature, the look and the picture profile.
How the camera finds and follows a subject: focus mode and area, and subject detection.
The two settings beside the zoom operations: image stabilisation and digital zoom.
Related
The class: constructor, every method, what each returns and throws.
Every setting id with its values, getter, setter and vendor properties.
Every exported type, field by field.
Every error class: when it is thrown and what to do.
Every import path of the package and what it exports.