{"id":"graphics.image--graphicsImageFormatDetection","name":"graphicsImageFormatDetection","owner":"yeho","package":"graphics.image","kind":"thing","signature":"external thing graphicsImageFormatDetection","description":"A graphics image format detection record carrying ready, detectedFormat, claimedFormat, inspectedBytes, diagnostic, 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":"detectedFormat","kind":"field","type":"text","description":"Stores detected format as text.","signature":"text detectedFormat","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"claimedFormat","kind":"field","type":"text","description":"Stores claimed format as text.","signature":"text claimedFormat","tags":["thing","field","graphics.image"],"updated":"2026-09-09"},{"name":"inspectedBytes","kind":"field","type":"int","description":"Stores inspected bytes as int.","signature":"int inspectedBytes","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":"contentIdentity","kind":"field","type":"text","description":"Stores content identity as text.","signature":"text contentIdentity","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":"graphicsImageFormatDetection","kind":"constructor","parameters":[{"name":"ready","type":"bool","description":"Ready."},{"name":"detectedFormat","type":"text","description":"Detected format."},{"name":"claimedFormat","type":"text","description":"Claimed format."},{"name":"inspectedBytes","type":"int","description":"Inspected bytes."},{"name":"diagnostic","type":"text","description":"Diagnostic."},{"name":"contentIdentity","type":"text","description":"Content identity."},{"name":"source","type":"text","description":"Source."}],"returns":"void","signature":"graphicsImageFormatDetection(bool ready, text detectedFormat, text claimedFormat, int inspectedBytes, text diagnostic, text contentIdentity, text source)","description":"Graphics image format detection.","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-8","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/format_detection.yh","line":5,"sha256":"70e15d2d4d6f1f62d25105ccf1a010a4bfb419777e581c69829ac42f4b3defc8"},"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 graphicsImageFormatDetection","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.\ngraphicsImageFormatDetection sample = graphicsImageFormatDetection(true, \"detected Format\", \"claimed Format\", 4, \"diagnostic\", \"sample\", \"example\")\nConsole.Log(Text.From(sample.ready))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image__graphicsimageformatdetection\"\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":"fcce7aa0a55254abed606e0edec8899c7e0a34e99121fd39f8f2f673946e15d1","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null},{"id":"method-Describe-8","title":"graphicsImageFormatDetection.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.\ngraphicsImageFormatDetection instance = graphicsImageFormatDetection(true, \"detected Format\", \"claimed Format\", 4, \"diagnostic\", \"sample\", \"example\")\ntext result = instance.Describe()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image__graphicsimageformatdetection\"\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":"0ac0ab1151ba298513e52e7b921926d91757735aa57e3ffe67b4859dc5c4cfee","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":["ready","detectedFormat","claimedFormat","inspectedBytes","diagnostic","contentIdentity","source","graphicsImageFormatDetection","Describe"],"url":"https://demonhunterlabs.com/academy/api?item=graphics.image--graphicsImageFormatDetection","json":"https://demonhunterlabs.com/reference/items/graphics.image--graphicsImageFormatDetection.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.image--graphicsImageFormatDetection.md"}
