{"id":"graphics.image--GraphicsImageFormatDetectionContract","name":"GraphicsImageFormatDetectionContract","owner":"yeho","package":"graphics.image","kind":"function","signature":"external GraphicsImageFormatDetectionContract() returns text","description":"Graphics image format detection contract.","context":"Decode and represent image data, including bounded PNG, JPEG, WebP, and SVG paths.","parameters":[],"returns":"text","members":[],"tags":["cpu","function","graphics","graphics.image","image","source-example","yeho"],"updated":"2026-09-09","source":{"repository":"yeho","path":"packages/graphics/image/format_detection.yh","line":236,"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 GraphicsImageFormatDetectionContract","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.\ntext result = GraphicsImageFormatDetectionContract()\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.graphics_image__graphicsimageformatdetectioncontract\"\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":"5b8d60544ad7bba56db56f144e2c261321e5aa34de500ad5a934cf83b5b06f1f","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=graphics.image--GraphicsImageFormatDetectionContract","json":"https://demonhunterlabs.com/reference/items/graphics.image--GraphicsImageFormatDetectionContract.json","markdown":"https://demonhunterlabs.com/reference/text/graphics.image--GraphicsImageFormatDetectionContract.md"}
