graphics.image.processing · function ·

EncodeGraphicsImageLinearPremultipliedWithOutputV1

Encode graphics image linear premultiplied with output v1.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

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

external EncodeGraphicsImageLinearPremultipliedWithOutputV1(graphicsImageLinearPremultipliedV1 pixel, text outputColorSpace) returns graphicsImageRgba8V1

Status: source-declared

Parameters

graphicsImageLinearPremultipliedV1 pixel
Supply pixel as graphicsImageLinearPremultipliedV1.
text outputColorSpace
Supply output color space as text.

Use EncodeGraphicsImageLinearPremultipliedWithOutputV1

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.
graphicsImageLinearPremultipliedV1 pixel = graphicsImageLinearPremultipliedV1(1, 1, 1, 1)
text outputColorSpace = "output Color Space"
graphicsImageRgba8V1 result = EncodeGraphicsImageLinearPremultipliedWithOutputV1(pixel, outputColorSpace)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__encodegraphicsimagelinearpremultipliedwithoutputv1"
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:480