graphics.image.processing · function ·
CreateGraphicsImageIccPrelinearizedMatrixTransformV1
Create graphics image icc prelinearized matrix transform v1 from the supplied values.
Transform image data through the package's explicit processing contracts.
external CreateGraphicsImageIccPrelinearizedMatrixTransformV1(graphicsImageColorEncodingV1 sourceEncoding, graphicsImageColorEncodingV1 destinationEncoding, graphicsImageColorMatrixQ14V1 matrix, text transformIdentity, text source) returns graphicsImageWideColorTransformV1Status: source-declared
Parameters
graphicsImageColorEncodingV1 sourceEncoding- Supply source encoding as graphicsImageColorEncodingV1.
graphicsImageColorEncodingV1 destinationEncoding- Supply destination encoding as graphicsImageColorEncodingV1.
graphicsImageColorMatrixQ14V1 matrix- Supply matrix as graphicsImageColorMatrixQ14V1.
text transformIdentity- Supply transform identity as text.
text source- Supply source as text.
Use CreateGraphicsImageIccPrelinearizedMatrixTransformV1
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.
graphicsImageColorEncodingV1 sourceEncoding = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example")
graphicsImageColorEncodingV1 destinationEncoding = graphicsImageColorEncodingV1("primaries", "transfer", 1, 1, "profile Identity", "example")
graphicsImageColorMatrixQ14V1 matrix = graphicsImageColorMatrixQ14V1(1, 1, 1, 1, 1, 1, 1, 1, 1)
text transformIdentity = "transform Identity"
text source = "example"
graphicsImageWideColorTransformV1 result = CreateGraphicsImageIccPrelinearizedMatrixTransformV1(sourceEncoding, destinationEncoding, matrix, transformIdentity, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__creategraphicsimageiccprelinearizedmatrixtransformv1"
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:303