graphics.image.processing · function ·
CreateGraphicsImageSamplingPolicyWithOutputV1
Create graphics image sampling policy with output v1 from the supplied values.
Transform image data through the package's explicit processing contracts.
external CreateGraphicsImageSamplingPolicyWithOutputV1(text filter, text sourceColorSpace, text sourceAlphaMode, text outputColorSpace, text source) returns graphicsImageSamplingPolicyV1Status: 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 outputColorSpace- Supply output color space as text.
text source- Supply source as text.
Use CreateGraphicsImageSamplingPolicyWithOutputV1
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 outputColorSpace = "output Color Space"
text source = "example"
graphicsImageSamplingPolicyV1 result = CreateGraphicsImageSamplingPolicyWithOutputV1(filter, sourceColorSpace, sourceAlphaMode, outputColorSpace, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__creategraphicsimagesamplingpolicywithoutputv1"
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:411