# graphicsImageColorEncodingV1

A graphics image color encoding v1 record carrying schema, schemaVersion, primaries, transfer, whitePoint, 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 graphicsImageColorEncodingV1
```

- text schema: Stores schema as text.
- int schemaVersion: Stores schema version as int.
- text primaries: Stores primaries as text.
- text transfer: Stores transfer as text.
- text whitePoint: Stores white point as text.
- int referenceWhiteNits: Stores reference white nits as int.
- int maximumNits: Stores maximum nits as int.
- text profileIdentity: Stores profile identity as text.
- text source: Stores source as text.
- graphicsImageColorEncodingV1(text primaries, text transfer, int referenceWhiteNits, int maximumNits, text profileIdentity, text source): Graphics image color encoding v1.
- ValidationIssue() returns text: Validation issue.
- ExecutableSdrMatrixTrcV1() returns bool: Executable sdr matrix trc v1.
- NamedProfileV1() returns bool: Named profile v1.
- IccProfileV1() returns bool: Icc profile v1.
- Snapshot() returns text: Snapshot.

## Use graphicsImageColorEncodingV1

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.
graphicsImageColorEncodingV1 sample = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example")
Console.Log(Text.From(sample.schema))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagecolorencodingv1"
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--graphicsImageColorEncodingV1/usage --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsImageColorEncodingV1.ValidationIssue

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

// Validation issue.
graphicsImageColorEncodingV1 instance = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example")
text result = instance.ValidationIssue()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagecolorencodingv1"
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--graphicsImageColorEncodingV1/method-ValidationIssue-10 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsImageColorEncodingV1.ExecutableSdrMatrixTrcV1

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

// Executable sdr matrix trc v1.
graphicsImageColorEncodingV1 instance = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example")
bool result = instance.ExecutableSdrMatrixTrcV1()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagecolorencodingv1"
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--graphicsImageColorEncodingV1/method-ExecutableSdrMatrixTrcV1-11 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsImageColorEncodingV1.NamedProfileV1

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

// Named profile v1.
graphicsImageColorEncodingV1 instance = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example")
bool result = instance.NamedProfileV1()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagecolorencodingv1"
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--graphicsImageColorEncodingV1/method-NamedProfileV1-12 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsImageColorEncodingV1.IccProfileV1

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

// Icc profile v1.
graphicsImageColorEncodingV1 instance = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example")
bool result = instance.IccProfileV1()
Console.Log(Text.From(result))

```

Save this beside start.yh as project.mech:

```toml
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagecolorencodingv1"
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--graphicsImageColorEncodingV1/method-IccProfileV1-13 --backend cpu-oracle -o /tmp/yeho-example
/tmp/yeho-example
```


## graphicsImageColorEncodingV1.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.
graphicsImageColorEncodingV1 instance = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "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__graphicsimagecolorencodingv1"
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--graphicsImageColorEncodingV1/method-Snapshot-14 --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/wide_gamut_v1.yh

AI training permission: https://demonhunterlabs.com/ai-use
