graphics.image.processing · function ·

SampleGraphicsImagePreparedPixelV1

Sample graphics image prepared pixel v1.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

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

external SampleGraphicsImagePreparedPixelV1(graphicsImageSamplingBindingV1 original binding, graphicsImageRgba8V1 topLeft, graphicsImageRgba8V1 topRight, graphicsImageRgba8V1 bottomLeft, graphicsImageRgba8V1 bottomRight, int xQ16, int yQ16) returns graphicsImagePreparedPixelV1

Status: source-declared

Parameters

graphicsImageSamplingBindingV1 original binding
Supply binding as graphicsImageSamplingBindingV1 original.
graphicsImageRgba8V1 topLeft
Supply top left as graphicsImageRgba8V1.
graphicsImageRgba8V1 topRight
Supply top right as graphicsImageRgba8V1.
graphicsImageRgba8V1 bottomLeft
Supply bottom left as graphicsImageRgba8V1.
graphicsImageRgba8V1 bottomRight
Supply bottom right as graphicsImageRgba8V1.
int xQ16
Supply x q16 as int.
int yQ16
Supply y q16 as int.

Use SampleGraphicsImagePreparedPixelV1

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.
graphicsImageSamplingBindingV1 binding = graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example"))
graphicsImageRgba8V1 topLeft = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgba8V1 topRight = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgba8V1 bottomLeft = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgba8V1 bottomRight = graphicsImageRgba8V1(1, 1, 1, 1)
int xQ16 = 1
int yQ16 = 1
graphicsImagePreparedPixelV1 result = SampleGraphicsImagePreparedPixelV1(binding, topLeft, topRight, bottomLeft, bottomRight, xQ16, yQ16)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__samplegraphicsimagepreparedpixelv1"
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:666