graphics.image.processing · function ·

CreateGraphicsImagePresentationColorPolicyV1

Create graphics image presentation color policy v1 from the supplied values.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

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

external CreateGraphicsImagePresentationColorPolicyV1(text sourceColorSpace, text tintColorSpace, text destinationColorSpace, text outputColorSpace, text source) returns graphicsImagePresentationColorPolicyV1

Status: source-declared

Parameters

text sourceColorSpace
Supply source color space as text.
text tintColorSpace
Supply tint color space as text.
text destinationColorSpace
Supply destination color space as text.
text outputColorSpace
Supply output color space as text.
text source
Supply source as text.

Use CreateGraphicsImagePresentationColorPolicyV1

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 sourceColorSpace = "source Color Space"
text tintColorSpace = "tint Color Space"
text destinationColorSpace = "destination Color Space"
text outputColorSpace = "output Color Space"
text source = "example"
graphicsImagePresentationColorPolicyV1 result = CreateGraphicsImagePresentationColorPolicyV1(sourceColorSpace, tintColorSpace, destinationColorSpace, outputColorSpace, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__creategraphicsimagepresentationcolorpolicyv1"
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/presentation_color_v1.yh:193