graphics.image.processing · function ·

CreateGraphicsImageSamplingPolicyV1

Create graphics image sampling policy v1 from the supplied values.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

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

external CreateGraphicsImageSamplingPolicyV1(text filter, text sourceColorSpace, text sourceAlphaMode, text source) returns graphicsImageSamplingPolicyV1

Status: source-declared

Parameters

text filter
Supply filter as text.
text sourceColorSpace
Supply source color space as text.
text sourceAlphaMode
Supply source alpha mode as text.
text source
Supply source as text.

Use CreateGraphicsImageSamplingPolicyV1

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 filter = "filter"
text sourceColorSpace = "source Color Space"
text sourceAlphaMode = "source Alpha Mode"
text source = "example"
graphicsImageSamplingPolicyV1 result = CreateGraphicsImageSamplingPolicyV1(filter, sourceColorSpace, sourceAlphaMode, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__creategraphicsimagesamplingpolicyv1"
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/filter_color_v1.yh:406