graphics.image.processing · function ·
PresentGraphicsImagePixelV1
Present graphics image pixel v1.
Transform image data through the package's explicit processing contracts.
external PresentGraphicsImagePixelV1(graphicsImagePresentationColorPolicyV1 policy, text sourceContentIdentity, text destinationContentIdentity, graphicsImageRgba8V1 sourcePixel, graphicsImageRgb8V1 tint, graphicsImageRgba8V1 destinationPixel, int opacity, text source) returns graphicsImagePresentationColorResultV1Status: source-declared
Parameters
graphicsImagePresentationColorPolicyV1 policy- Supply policy as graphicsImagePresentationColorPolicyV1.
text sourceContentIdentity- Supply source content identity as text.
text destinationContentIdentity- Supply destination content identity as text.
graphicsImageRgba8V1 sourcePixel- Supply source pixel as graphicsImageRgba8V1.
graphicsImageRgb8V1 tint- Supply tint as graphicsImageRgb8V1.
graphicsImageRgba8V1 destinationPixel- Supply destination pixel as graphicsImageRgba8V1.
int opacity- Supply opacity as int.
text source- Supply source as text.
Use PresentGraphicsImagePixelV1
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.
graphicsImagePresentationColorPolicyV1 policy = graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example")
text sourceContentIdentity = "source Content Identity"
text destinationContentIdentity = "destination Content Identity"
graphicsImageRgba8V1 sourcePixel = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgb8V1 tint = graphicsImageRgb8V1(1, 1, 1)
graphicsImageRgba8V1 destinationPixel = graphicsImageRgba8V1(1, 1, 1, 1)
int opacity = 1
text source = "example"
graphicsImagePresentationColorResultV1 result = PresentGraphicsImagePixelV1(policy, sourceContentIdentity, destinationContentIdentity, sourcePixel, tint, destinationPixel, opacity, source)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__presentgraphicsimagepixelv1"
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:435