{"id":"graphics.image.processing--graphicsImageSamplingPolicyV1","name":"graphicsImageSamplingPolicyV1","owner":"yeho","package":"graphics.image.processing","kind":"thing","signature":"external thing graphicsImageSamplingPolicyV1","description":"A graphics image sampling policy v1 record carrying schema, schemaVersion, filter, sourceColorSpace, sourceAlphaMode, and related state.","context":"Transform image data through the package's explicit processing contracts.","parameters":[],"returns":"void","members":[{"name":"schema","kind":"field","type":"text","description":"Stores schema as text.","signature":"text schema","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"schemaVersion","kind":"field","type":"int","description":"Stores schema version as int.","signature":"int schemaVersion","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"filter","kind":"field","type":"text","description":"Stores filter as text.","signature":"text filter","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"sourceColorSpace","kind":"field","type":"text","description":"Stores source color space as text.","signature":"text sourceColorSpace","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"sourceAlphaMode","kind":"field","type":"text","description":"Stores source alpha mode as text.","signature":"text sourceAlphaMode","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"workingColorSpace","kind":"field","type":"text","description":"Stores working color space as text.","signature":"text workingColorSpace","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"edgeMode","kind":"field","type":"text","description":"Stores edge mode as text.","signature":"text edgeMode","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"transfer","kind":"field","type":"text","description":"Stores transfer as text.","signature":"text transfer","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"interpolation","kind":"field","type":"text","description":"Stores interpolation as text.","signature":"text interpolation","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"blend","kind":"field","type":"text","description":"Stores blend as text.","signature":"text blend","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"outputColorSpace","kind":"field","type":"text","description":"Stores output color space as text.","signature":"text outputColorSpace","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"outputEncoding","kind":"field","type":"text","description":"Stores output encoding as text.","signature":"text outputEncoding","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","graphics.image.processing"],"updated":"2026-09-09"},{"name":"graphicsImageSamplingPolicyV1","kind":"constructor","parameters":[{"name":"filter","type":"text","description":"Filter."},{"name":"sourceColorSpace","type":"text","description":"Source color space."},{"name":"sourceAlphaMode","type":"text","description":"Source alpha mode."},{"name":"outputColorSpace","type":"text","description":"Output color space."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"graphicsImageSamplingPolicyV1(text filter, text sourceColorSpace, text sourceAlphaMode, text outputColorSpace, text source)","description":"Graphics image sampling policy v1.","tags":["thing","constructor","graphics.image.processing"],"updated":"2026-09-09"},{"name":"ValidationIssue","kind":"method","parameters":[],"returns":"text","signature":"ValidationIssue() returns text","description":"Validation issue.","tags":["thing","method","graphics.image.processing"],"exampleId":"method-ValidationIssue-14","updated":"2026-09-09"},{"name":"Cost","kind":"method","parameters":[],"returns":"graphicsImageSamplingCostV1","signature":"Cost() returns graphicsImageSamplingCostV1","description":"Cost.","tags":["thing","method","graphics.image.processing"],"exampleId":"method-Cost-15","updated":"2026-09-09"},{"name":"CacheIdentity","kind":"method","parameters":[{"name":"contentIdentity","type":"text","description":"Content identity."}],"returns":"text","signature":"CacheIdentity(text contentIdentity) returns text","description":"Cache identity.","tags":["thing","method","graphics.image.processing"],"exampleId":"method-CacheIdentity-16","updated":"2026-09-09"},{"name":"Snapshot","kind":"method","parameters":[],"returns":"text","signature":"Snapshot() returns text","description":"Snapshot.","tags":["thing","method","graphics.image.processing"],"exampleId":"method-Snapshot-17","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.image.processing","image","method","processing","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/image/processing/filter_color_v1.yh","line":275,"sha256":"cadbb989f7058f1fad34453e9d3f8c298787936ddfdd4575067d3f3b6a8a3f92"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use graphicsImageSamplingPolicyV1","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.image.processing\n\n// Transform image data through the package's explicit processing contracts.\ngraphicsImageSamplingPolicyV1 sample = graphicsImageSamplingPolicyV1(\"filter\", \"source Color Space\", \"source Alpha Mode\", \"output Color Space\", \"example\")\nConsole.Log(Text.From(sample.schema))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingpolicyv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"cfbe580f8dee723ddd209fcbabe3d6c7069ee84bd513e1d3166732b1ba55b5c8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-ValidationIssue-14","title":"graphicsImageSamplingPolicyV1.ValidationIssue","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.image.processing\n\n// Validation issue.\ngraphicsImageSamplingPolicyV1 instance = graphicsImageSamplingPolicyV1(\"filter\", \"source Color Space\", \"source Alpha Mode\", \"output Color Space\", \"example\")\ntext result = instance.ValidationIssue()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingpolicyv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"067567fe9e1f50a26aeda30a473eac29befba5f21aeb23f7fb55d7e6c5fd345f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Cost-15","title":"graphicsImageSamplingPolicyV1.Cost","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.image.processing\n\n// Cost.\ngraphicsImageSamplingPolicyV1 instance = graphicsImageSamplingPolicyV1(\"filter\", \"source Color Space\", \"source Alpha Mode\", \"output Color Space\", \"example\")\ngraphicsImageSamplingCostV1 result = instance.Cost()\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingpolicyv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"b3784b4b1375c22bd9852614d96ade6607afa8dd1a3a2344b49ed4cf39940c86","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-CacheIdentity-16","title":"graphicsImageSamplingPolicyV1.CacheIdentity","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.image.processing\n\n// Cache identity.\ngraphicsImageSamplingPolicyV1 instance = graphicsImageSamplingPolicyV1(\"filter\", \"source Color Space\", \"source Alpha Mode\", \"output Color Space\", \"example\")\ntext argument_contentIdentity = \"argument content Identity\"\ntext result = instance.CacheIdentity(argument_contentIdentity)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingpolicyv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"31c88ef34d5cd9cf705acfafb264f67b62489a8de41832f4d8d14ed542741859","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Snapshot-17","title":"graphicsImageSamplingPolicyV1.Snapshot","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.image.processing\n\n// Snapshot.\ngraphicsImageSamplingPolicyV1 instance = graphicsImageSamplingPolicyV1(\"filter\", \"source Color Space\", \"source Alpha Mode\", \"output Color Space\", \"example\")\ntext result = instance.Snapshot()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__graphicsimagesamplingpolicyv1\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image.processing\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image/processing\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"ec27cbcce76edf1b66369238629cef8a149adb2c4bfaebf7ebd1cee332435aa8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["schema","schemaVersion","filter","sourceColorSpace","sourceAlphaMode","workingColorSpace","edgeMode","transfer","interpolation","blend","outputColorSpace","outputEncoding","source","graphicsImageSamplingPolicyV1","ValidationIssue","Cost","CacheIdentity","Snapshot"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.image.processing--graphicsImageSamplingPolicyV1","json":"https://demonhunterlabs.com/reference/items/graphics.image.processing--graphicsImageSamplingPolicyV1.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.image.processing--graphicsImageSamplingPolicyV1.md"}
