graphics.image.processing · thing ·

graphicsImageWideColorResultV1

A graphics image wide color result v1 record carrying available, outputPixel, redLinear16, greenLinear16, blueLinear16, and related state.

cpugraphicsgraphics.image.processingimagemethodprocessingsource-examplethingyeho

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

external thing graphicsImageWideColorResultV1

Status: source-declared

Fields and methods (16)
bool available
Stores available as bool.
graphicsImageRgba8V1 outputPixel
Stores output pixel as graphicsImageRgba8V1.
int redLinear16
Stores red linear16 as int.
int greenLinear16
Stores green linear16 as int.
int blueLinear16
Stores blue linear16 as int.
int matrixMultiplications
Stores matrix multiplications as int.
bool outOfGamut
Stores out of gamut as bool.
int clippedChannels
Stores clipped channels as int.
text outputPrimaries
Stores output primaries as text.
text outputTransfer
Stores output transfer as text.
text outputProfileIdentity
Stores output profile identity as text.
text cacheIdentity
Stores cache identity as text.
text diagnostic
Stores diagnostic as text.
text source
Stores source as text.
graphicsImageWideColorResultV1(graphicsImageColorEncodingV1 destinationEncoding, text source)
Graphics image wide color result v1.
Snapshot() returns text
Snapshot. Complete example

Use graphicsImageWideColorResultV1

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.
graphicsImageWideColorResultV1 sample = graphicsImageWideColorResultV1(graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example"), "example")
Console.Log(Text.From(sample.available))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagewidecolorresultv1"
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"

graphicsImageWideColorResultV1.Snapshot

A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.

cpu · method · source-example · type checked

using graphics.image.processing

// Snapshot.
graphicsImageWideColorResultV1 instance = graphicsImageWideColorResultV1(graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example"), "example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagewidecolorresultv1"
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:308