{"id":"graphics.image--graphicsImageByteSource","name":"graphicsImageByteSource","owner":"yeho","package":"graphics.image","kind":"thing","signature":"external thing graphicsImageByteSource","description":"A graphics image byte source record carrying ready, contentIdentity, format, originKind, locator, and related state.","context":"Decode and represent image data, including bounded PNG, JPEG, WebP, and SVG paths.","parameters":[],"returns":"void","members":[{"name":"ready","kind":"field","type":"bool","description":"Stores ready as bool.","signature":"bool ready","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"contentIdentity","kind":"field","type":"text","description":"Stores content identity as text.","signature":"text contentIdentity","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"format","kind":"field","type":"text","description":"Stores format as text.","signature":"text format","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"originKind","kind":"field","type":"text","description":"Stores origin kind as text.","signature":"text originKind","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"locator","kind":"field","type":"text","description":"Stores locator as text.","signature":"text locator","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"sizeBytes","kind":"field","type":"int","description":"Stores size bytes as int.","signature":"int sizeBytes","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"byteLimit","kind":"field","type":"int","description":"Stores byte limit as int.","signature":"int byteLimit","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"payloadHex","kind":"field","type":"text","description":"Stores payload hex as text.","signature":"text payloadHex","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"diagnostic","kind":"field","type":"text","description":"Stores diagnostic as text.","signature":"text diagnostic","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"source","kind":"field","type":"text","description":"Stores source as text.","signature":"text source","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"graphicsImageByteSource","kind":"constructor","parameters":[{"name":"ready","type":"bool","description":"Ready."},{"name":"contentIdentity","type":"text","description":"Content identity."},{"name":"format","type":"text","description":"Format."},{"name":"originKind","type":"text","description":"Origin kind."},{"name":"locator","type":"text","description":"Locator."},{"name":"sizeBytes","type":"int","description":"Size bytes."},{"name":"byteLimit","type":"int","description":"Byte limit."},{"name":"payloadHex","type":"text","description":"Payload hex."},{"name":"diagnostic","type":"text","description":"Diagnostic."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"graphicsImageByteSource(bool ready, text contentIdentity, text format, text originKind, text locator, int sizeBytes, int byteLimit, text payloadHex, text diagnostic, text source)","description":"Graphics image byte source.","tags":["thing","constructor","graphics.image"],"updated":"2026-09-09"},{"name":"Describe","kind":"method","parameters":[],"returns":"text","signature":"Describe() returns text","description":"Describe.","tags":["thing","method","graphics.image"],"exampleId":"method-Describe-11","updated":"2026-09-09"}],"tags":["cpu","graphics","graphics.image","image","method","source-example","thing","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/image/encoded_source.yh","line":6,"sha256":"8aa706c90908490fb713fc547747a9e6f316bff2ecacd7d0d983a0f6ed7d702b"},"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 graphicsImageByteSource","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using graphics.image\n\n// Decode and represent image data, including bounded PNG, JPEG, WebP, and SVG paths.\ngraphicsImageByteSource sample = graphicsImageByteSource(true, \"sample\", \"png\", \"origin Kind\", \"locator\", 4, 1, \"payload Hex\", \"diagnostic\", \"example\")\nConsole.Log(Text.From(sample.ready))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image__graphicsimagebytesource\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"5c83c232c67f62b52313300dbfa900e5e315006e6920c96262ce1fe4e0e3efe0","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-11","title":"graphicsImageByteSource.Describe","description":"A complete caller for this public method. Sample inputs are illustrative; native resources require their owning lifecycle.","code":"using graphics.image\n\n// Describe.\ngraphicsImageByteSource instance = graphicsImageByteSource(true, \"sample\", \"png\", \"origin Kind\", \"locator\", 4, 1, \"payload Hex\", \"diagnostic\", \"example\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image__graphicsimagebytesource\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"graphics.image\"\nversion = \"0.1.0\"\npath = \"../../../yeho/packages/graphics/image\"\n","tags":["cpu","method","source-example"],"run":"cpu-oracle","verification":"type checked","sha256":"0e26c9d420a2a7c8095095db008ffd6ddeaecae281343319e6b6782cfa838dc8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["ready","contentIdentity","format","originKind","locator","sizeBytes","byteLimit","payloadHex","diagnostic","source","graphicsImageByteSource","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.image--graphicsImageByteSource","json":"https://demonhunterlabs.com/reference/items/graphics.image--graphicsImageByteSource.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.image--graphicsImageByteSource.md"}
