graphics.image.processing · thing ·

graphicsImageSamplingPolicyV1

A graphics image sampling policy v1 record carrying schema, schemaVersion, filter, sourceColorSpace, sourceAlphaMode, and related state.

cpugraphicsgraphics.image.processingimagemethodprocessingsource-examplethingyeho

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

external thing graphicsImageSamplingPolicyV1

Status: source-declared

Fields and methods (18)
text schema
Stores schema as text.
int schemaVersion
Stores schema version as int.
text filter
Stores filter as text.
text sourceColorSpace
Stores source color space as text.
text sourceAlphaMode
Stores source alpha mode as text.
text workingColorSpace
Stores working color space as text.
text edgeMode
Stores edge mode as text.
text transfer
Stores transfer as text.
text interpolation
Stores interpolation as text.
text blend
Stores blend as text.
text outputColorSpace
Stores output color space as text.
text outputEncoding
Stores output encoding as text.
text source
Stores source as text.
graphicsImageSamplingPolicyV1(text filter, text sourceColorSpace, text sourceAlphaMode, text outputColorSpace, text source)
Graphics image sampling policy v1.
ValidationIssue() returns text
Validation issue. Complete example
Cost() returns graphicsImageSamplingCostV1
Cost. Complete example
CacheIdentity(text contentIdentity) returns text
Cache identity. Complete example
Snapshot() returns text
Snapshot. Complete example

Use graphicsImageSamplingPolicyV1

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.
graphicsImageSamplingPolicyV1 sample = graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example")
Console.Log(Text.From(sample.schema))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingpolicyv1"
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"

graphicsImageSamplingPolicyV1.ValidationIssue

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

// Validation issue.
graphicsImageSamplingPolicyV1 instance = graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example")
text result = instance.ValidationIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingpolicyv1"
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"

graphicsImageSamplingPolicyV1.Cost

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

// Cost.
graphicsImageSamplingPolicyV1 instance = graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example")
graphicsImageSamplingCostV1 result = instance.Cost()
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingpolicyv1"
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"

graphicsImageSamplingPolicyV1.CacheIdentity

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

// Cache identity.
graphicsImageSamplingPolicyV1 instance = graphicsImageSamplingPolicyV1("filter", "source Color Space", "source Alpha Mode", "output Color Space", "example")
text argument_contentIdentity = "argument content Identity"
text result = instance.CacheIdentity(argument_contentIdentity)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagesamplingpolicyv1"
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"

graphicsImageSamplingPolicyV1.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.
graphicsImageSamplingPolicyV1 instance = 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__graphicsimagesamplingpolicyv1"
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:275