{"id":"graphics.image.processing--EncodeGraphicsImageLinearPremultipliedToSrgb8V1","name":"EncodeGraphicsImageLinearPremultipliedToSrgb8V1","owner":"yeho","package":"graphics.image.processing","kind":"function","signature":"external EncodeGraphicsImageLinearPremultipliedToSrgb8V1(graphicsImageLinearPremultipliedV1 pixel) returns graphicsImageRgba8V1","description":"Encode graphics image linear premultiplied to srgb8 v1.","context":"Transform image data through the package's explicit processing contracts.","parameters":[{"name":"pixel","type":"graphicsImageLinearPremultipliedV1","description":"Supply pixel as graphicsImageLinearPremultipliedV1."}],"returns":"graphicsImageRgba8V1","members":[],"tags":["cpu","function","graphics","graphics.image.processing","image","processing","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/image/processing/filter_color_v1.yh","line":475,"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 EncodeGraphicsImageLinearPremultipliedToSrgb8V1","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.\ngraphicsImageLinearPremultipliedV1 pixel = graphicsImageLinearPremultipliedV1(1, 1, 1, 1)\ngraphicsImageRgba8V1 result = EncodeGraphicsImageLinearPremultipliedToSrgb8V1(pixel)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image_processing__encodegraphicsimagelinearpremultipliedtosrgb8v1\"\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":"6731d9f16476ab5f98cf69497b578acb422d5b7e38c9d08c9f8521e72d6d8a6c","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.image.processing--EncodeGraphicsImageLinearPremultipliedToSrgb8V1","json":"https://demonhunterlabs.com/reference/items/graphics.image.processing--EncodeGraphicsImageLinearPremultipliedToSrgb8V1.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.image.processing--EncodeGraphicsImageLinearPremultipliedToSrgb8V1.md"}
