graphics.image.processing · thing ·
graphicsImageSamplingBindingV1
A graphics image sampling binding v1 record carrying available, policy, cost, srgbToLinear16, cacheIdentity, and related state.
Transform image data through the package's explicit processing contracts.
external thing graphicsImageSamplingBindingV1Status: source-declared
Fields and methods (8)
bool available- Stores available as bool.
graphicsImageSamplingPolicyV1 policy- Stores policy as graphicsImageSamplingPolicyV1.
graphicsImageSamplingCostV1 cost- Stores cost as graphicsImageSamplingCostV1.
list of int srgbToLinear16- Stores srgb to linear16 as list of int.
text cacheIdentity- Stores cache identity as text.
text diagnostic- Stores diagnostic as text.
graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1 policy)- Graphics image sampling binding v1.
Snapshot() returns text- Snapshot. Complete example
Use graphicsImageSamplingBindingV1
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 sample = graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example"))
Console.Log(Text.From(sample.available))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingbindingv1"
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"
graphicsImageSamplingBindingV1.Snapshot
A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.
cpu · method · source-example · type checked
using graphics.image.processing
// Snapshot.
graphicsImageSamplingBindingV1 instance = graphicsImageSamplingBindingV1(graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example"))
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingbindingv1"
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:520