graphics.image.processing · thing ·

graphicsImagePresentationColorPolicyV1

A graphics image presentation color policy v1 record carrying schema, schemaVersion, sourceColorSpace, sourceAlphaMode, tintColorSpace, and related state.

cpugraphicsgraphics.image.processingimagemethodprocessingsource-examplethingyeho

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

external thing graphicsImagePresentationColorPolicyV1

Status: source-declared

Fields and methods (18)
text schema
Stores schema as text.
int schemaVersion
Stores schema version as int.
text sourceColorSpace
Stores source color space as text.
text sourceAlphaMode
Stores source alpha mode as text.
text tintColorSpace
Stores tint color space as text.
text destinationColorSpace
Stores destination color space as text.
text destinationAlphaMode
Stores destination alpha mode as text.
text workingColorSpace
Stores working color space as text.
text tintOperation
Stores tint operation 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.
graphicsImagePresentationColorPolicyV1(text sourceColorSpace, text tintColorSpace, text destinationColorSpace, text outputColorSpace, text source)
Graphics image presentation color policy v1.
ValidationIssue() returns text
Validation issue. Complete example
CacheIdentity(text sourceContentIdentity, text destinationContentIdentity, graphicsImageRgba8V1 sourcePixel, graphicsImageRgb8V1 tint, graphicsImageRgba8V1 destinationPixel, int opacity) returns text
Cache identity. Complete example
Cost(graphicsImageLinearPremultipliedV1 outputPixel) returns graphicsImagePresentationColorCostV1
Cost. Complete example
Snapshot() returns text
Snapshot. Complete example

Use graphicsImagePresentationColorPolicyV1

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 sample = graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example")
Console.Log(Text.From(sample.schema))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepresentationcolorpolicyv1"
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"

graphicsImagePresentationColorPolicyV1.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.
graphicsImagePresentationColorPolicyV1 instance = graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example")
text result = instance.ValidationIssue()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepresentationcolorpolicyv1"
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"

graphicsImagePresentationColorPolicyV1.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.
graphicsImagePresentationColorPolicyV1 instance = graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example")
text argument_sourceContentIdentity = "argument source Content Identity"
text argument_destinationContentIdentity = "argument destination Content Identity"
graphicsImageRgba8V1 argument_sourcePixel = graphicsImageRgba8V1(1, 1, 1, 1)
graphicsImageRgb8V1 argument_tint = graphicsImageRgb8V1(1, 1, 1)
graphicsImageRgba8V1 argument_destinationPixel = graphicsImageRgba8V1(1, 1, 1, 1)
int argument_opacity = 1
text result = instance.CacheIdentity(argument_sourceContentIdentity, argument_destinationContentIdentity, argument_sourcePixel, argument_tint, argument_destinationPixel, argument_opacity)
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepresentationcolorpolicyv1"
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"

graphicsImagePresentationColorPolicyV1.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.
graphicsImagePresentationColorPolicyV1 instance = graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example")
graphicsImageLinearPremultipliedV1 argument_outputPixel = graphicsImageLinearPremultipliedV1(1, 1, 1, 1)
graphicsImagePresentationColorCostV1 result = instance.Cost(argument_outputPixel)
Console.Log("Inspect result in your debugger")
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepresentationcolorpolicyv1"
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"

graphicsImagePresentationColorPolicyV1.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.
graphicsImagePresentationColorPolicyV1 instance = graphicsImagePresentationColorPolicyV1("source Color Space", "tint Color Space", "destination Color Space", "output Color Space", "example")
text result = instance.Snapshot()
Console.Log(Text.From(result))
project.mech
manifestVersion = "2"
package = "api.example.graphics_image_processing__graphicsimagepresentationcolorpolicyv1"
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:80