# graphicsImagePreparedPresentationColorBindingV1

A graphics image prepared presentation color binding v1 record carrying available, policy, tintLinear, destinationLinear, opacity16, and related state.

Last updated: 2026-09-09

Package: graphics.image.processing | Status: source-declared

Tags: cpu, graphics, graphics.image.processing, image, method, processing, source-example, thing, yeho

Transform image data through the package's explicit processing contracts.

```yh
external thing graphicsImagePreparedPresentationColorBindingV1
```

- bool available: Stores available as bool.
- graphicsImagePresentationColorPolicyV1 policy: Stores policy as graphicsImagePresentationColorPolicyV1.
- graphicsImageLinearPremultipliedV1 tintLinear: Stores tint linear as graphicsImageLinearPremultipliedV1.
- graphicsImageLinearPremultipliedV1 destinationLinear: Stores destination linear as graphicsImageLinearPremultipliedV1.
- int opacity16: Stores opacity16 as int.
- bool outputSrgb: Stores output srgb as bool.
- list of int outputSrgbToLinear16: Stores output srgb to linear16 as list of int.
- text regionCacheIdentity: Stores region cache identity as text.
- text diagnostic: Stores diagnostic as text.
- text source: Stores source as text.
- graphicsImagePreparedPresentationColorBindingV1(graphicsImagePresentationColorPolicyV1 policy, text source): Graphics image prepared presentation color binding v1.
- Snapshot() returns text: Snapshot.

## Use graphicsImagePreparedPresentationColorBindingV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

Verification: type checked

```yh
using graphics.image.processing

// Transform image data through the package's explicit processing contracts.
graphicsImagePreparedPresentationColorBindingV1 sample = graphicsImagePreparedPresentationColorBindingV1(graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example"), "example")
Console.Log(Text.From(sample.available))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepreparedpresentationcolorbindingv1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.image.processing--graphicsImagePreparedPresentationColorBindingV1/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsImagePreparedPresentationColorBindingV1.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

Verification: type checked

```yh
using graphics.image.processing

// Snapshot.
graphicsImagePreparedPresentationColorBindingV1 instance = graphicsImagePreparedPresentationColorBindingV1(graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example"), "example")
text result = instance.Snapshot()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepreparedpresentationcolorbindingv1"
version = "0.1.0"
languageEdition = "yeho-core-2026.1"

[app]
kind = "headless"

[[dependencies]]
package = "graphics.image.processing"
version = "0.1.0"
path = "../../../yeho/packages/graphics/image/processing"

```

Extract the example archive beside the yeho and dolphin checkouts. This example requires those source dependencies and a current developer compiler.

```sh
./yeho/build/dolphin-metal/yehoc ./api-examples/graphics.image.processing--graphicsImagePreparedPresentationColorBindingV1/method-Snapshot-11 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

Source: yeho/packages/graphics/image/processing/presentation_color_v1.yh

AI training permission: https://demonhunterlabs.com/ai-use
