graphics.image.processing · function ·

CreateGraphicsImageNamedColorEncodingV1

Create graphics image named color encoding v1 from the supplied values.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

Transform image data through the package's explicit processing contracts.

external CreateGraphicsImageNamedColorEncodingV1(text primaries, text transfer, int referenceWhiteNits, int maximumNits, text source) returns graphicsImageColorEncodingV1

Status: source-declared

Parameters

text primaries
Supply primaries as text.
text transfer
Supply transfer as text.
int referenceWhiteNits
Supply reference white nits as int.
int maximumNits
Supply maximum nits as int.
text source
Supply source as text.

Use CreateGraphicsImageNamedColorEncodingV1

A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.

cpu · source-example · type checked

using graphics.image.processing

// Transform image data through the package's explicit processing contracts.
text primaries = "primaries"
text transfer = "transfer"
int referenceWhiteNits = 1
int maximumNits = 1
text source = "example"
graphicsImageColorEncodingV1 result = CreateGraphicsImageNamedColorEncodingV1(primaries, transfer, referenceWhiteNits, maximumNits, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__creategraphicsimagenamedcolorencodingv1"
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"
Notes and source

Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup.

yeho/packages/graphics/image/processing/wide_gamut_v1.yh:111