---
title: "view.thirtyTwoBitPreviewOptions: 32-bit Preview Options… — Photo kit command — Kition"
description: "Sets how a 32-bit document is shown on screen: `method` exposure-and-gamma or highlight compression; view only."
canonical: "https://developer.kition.ai/docs/kits/photo/commands/view.thirtyTwoBitPreviewOptions"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/photo/commands/view.thirtyTwoBitPreviewOptions](https://developer.kition.ai/docs/kits/photo/commands/view.thirtyTwoBitPreviewOptions)

# view.thirtyTwoBitPreviewOptions

**32-bit Preview Options….** Sets how a 32-bit document is shown on screen: `method` exposure-and-gamma or highlight compression; view only.

- Kit: Photo 0.1.0 (PSD, PSB, or .kphoto); reference: [Photo kit commands](https://developer.kition.ai/docs/kits/photo.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `coalesce` | `string` | no | Merges consecutive edits with the same key into one undo step, as a slider drag or a typing session is one. |
| `exposure` | `integer` | no | -20 to 20 |
| `gamma` | `number` | no | 0.1 to 9.99 |
| `method` | `"exposureGamma" \| "highlightCompression"` | no |  |

## Call through photo_run

```text
photo_run {
  "path": "<file>.psd",
  "steps": [{ "command": "view.thirtyTwoBitPreviewOptions" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `coalesce`, `exposure`, `gamma`, `method`. photo_run answers the step’s result in `completed[i].result`.

## Result



```json
{
  "additionalProperties": true,
  "description": "an object; the command's description says what it holds",
  "properties": {},
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "coalesce": {
      "description": "Merges consecutive edits with the same key into one undo step, as a slider drag or a typing session is one.",
      "type": "string"
    },
    "exposure": {
      "default": 0,
      "description": "-20 to 20",
      "type": "integer"
    },
    "gamma": {
      "default": 1,
      "description": "0.1 to 9.99",
      "type": "number"
    },
    "method": {
      "default": "exposureGamma",
      "enum": [
        "exposureGamma",
        "highlightCompression"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/photo-darwin-arm64@0.1.0 and the kit itself (photo_commands through @kition/cli@0.1.1, built from KitionAI/kition-photo@abe3f30).
