Skip to main content
SettingsZoom and stabilisation settings

The two settings beside the zoom operations: image stabilisation and digital zoom. This is one of the 7 pages of the settings reference, which names every setting. Zoom and stabilisation shows each at work in Studio, MCP, the CLI and Slate.

Read and write one with its typed getter and setter, or with setControl by id. A camera offers only some values of each: 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.

Image stabilisation

Steadies the picture against camera shake, in the lens, in the body, or both, as the camera's menu offers it.

Lens and in-body stabilisation together, as each body's menu offers it: Off, On, and a brand's own modes.

IdimageStabilization, for setControl and getCapabilities().controls.imageStabilization
Value typeImageStabilization
How to use itZoom and stabilisation: Image stabilisation
Search wordsimage stabilisation, image stabilization, stabilization, stabilisation, IBIS, SteadyShot, steady shot, vibration reduction, VR, lens IS

Values 6 named values. A camera offers only some of them: getCapabilities().controls.imageStabilization.allowedValues lists which, right now.

Off On Same as photo Sports Active Dynamic Active

Protocol properties

The properties Slate reads and writes for it, by brand.

getImageStabilization

getImageStabilization(): Promise<ImageStabilization> · MCP camera_get_image_stabilization · CLI darkgrade camera get-image-stabilization

setImageStabilization

MCP camera_set_image_stabilization · CLI darkgrade camera set-image-stabilization

setImageStabilization(
    value: ImageStabilization,
): Promise<ImageStabilization>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Digital zoom

Zooming past the lens inside the camera: Clear Image Zoom, Hi-Res Zoom, digital teleconverters.

How far zoom reaches past the optics: Off is optical only.

IddigitalZoom, for setControl and getCapabilities().controls.digitalZoom
Value typeDigitalZoom
How to use itZoom and stabilisation: Digital zoom
Search wordszoom setting, zoomSetting, zoom mode, zoomMode, zoom range, Hi-Res Zoom, digital teleconverter, clear image zoom, movie digital zoom

Values 6 named values. A camera offers only some of them: getCapabilities().controls.digitalZoom.allowedValues lists which, right now.

Hi-Res Zoom Off Clear Image Zoom Digital Zoom Digital Zoom 2x Digital Zoom 4x

How the names are chosen

Each brand's own property and value, and the name Slate gives it:

Vendor valueSlate value
ZoomSetting Optical Zoom OnlyOff
ZoomSetting Clear Image ZoomClear Image Zoom
ZoomSetting Digital ZoomDigital Zoom
NikonHiResZoom OFFOff
NikonHiResZoom ONHi-Res Zoom
CanonDigitalZoom x1.0Off
CanonDigitalZoom x2.0Digital Zoom 2x
CanonDigitalZoom x4.0Digital Zoom 4x

Protocol properties

The properties Slate reads and writes for it, by brand.

BrandProperties
CanonCanonDigitalZoom (0xd243)
NikonNikonHiResZoom (0x1d033)
SonyZoomSetting (0xd25f)

getDigitalZoom

getDigitalZoom(): Promise<DigitalZoom> · MCP camera_get_digital_zoom · CLI darkgrade camera get-digital-zoom

setDigitalZoom

MCP camera_set_digital_zoom · CLI darkgrade camera set-digital-zoom

setDigitalZoom(value: DigitalZoom): Promise<DigitalZoom>

Refuses a value the camera does not offer before sending anything, and resolves to the value read back.

Other settings

⌘I