nx_img_to_rgb.nx
buildroot/runtime/nx_img_to_rgb.nx
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
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
| 8 | func nx_img_to_rgb(path: *u8, out_wh: *i64) -> *u8 |