code wiki / (root) / nx_img_to_rgb.nx

nx_img_to_rgb.nx

buildroot/runtime/nx_img_to_rgb.nx

708 B13 linesdepth 10pulls 45 transitivereach 8 importersview sourcekind librarytopic img
docsdependenciesstructsconstsfunctions

about

nx_img_to_rgb.nx -- decode an encoded image FILE -> interleaved 8-bit RGB (w*h*3, row-major). Thin PATH wrapper over nx_img_bytes_to_rgb (the bytes-in core): read the file, then decode. NOT usable from the Windows PE (no sys_read_file thunk) -- the GUI uses read_local + nx_img_bytes_to_rgb directly. Graceful-degradation contract lives in the bytes core (PNG PARTIAL, JPEG baseline). license_tier: ORIGINAL

dependencies 2 imports · 8 importers

nx_syscalls.nx nx_img_bytes_to_rgb.nx nx_img_to_rgb.nx nx_blitproof.nx nx_contactsheet.nx nx_img_decode_gate.nx nx_img_to_rgb_gate.nx nx_imgfacts.nx nx_imgpage.nx nx_imgproof.nx nx_imgquery_e2e_gate.nx

imports: nx_syscalls.nxnx_img_bytes_to_rgb.nx

imported by: nx_blitproof.nxnx_contactsheet.nxnx_img_decode_gate.nxnx_img_to_rgb_gate.nxnx_imgfacts.nxnx_imgpage.nxnx_imgproof.nxnx_imgquery_e2e_gate.nx

structs

none

consts

none

functions

8func nx_img_to_rgb(path: *u8, out_wh: *i64) -> *u8