graphics.image.processing · function ·

CompositeGraphicsImageLinearSourceOverV1

Composite graphics image linear source over v1.

cpufunctiongraphicsgraphics.image.processingimageprocessingsource-exampleyeho

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

external CompositeGraphicsImageLinearSourceOverV1(graphicsImageLinearPremultipliedV1 sourcePixel, graphicsImageLinearPremultipliedV1 destinationPixel) returns graphicsImageLinearPremultipliedV1

Status: source-declared

Parameters

graphicsImageLinearPremultipliedV1 sourcePixel
Supply source pixel as graphicsImageLinearPremultipliedV1.
graphicsImageLinearPremultipliedV1 destinationPixel
Supply destination pixel as graphicsImageLinearPremultipliedV1.

Use CompositeGraphicsImageLinearSourceOverV1

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 sourcePixel = graphicsImageLinearPremultipliedV1(1, 1, 1, 1)
graphicsImageLinearPremultipliedV1 destinationPixel = graphicsImageLinearPremultipliedV1(1, 1, 1, 1)
graphicsImageLinearPremultipliedV1 result = CompositeGraphicsImageLinearSourceOverV1(sourcePixel, destinationPixel)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__compositegraphicsimagelinearsourceoverv1"
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:485