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 20 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 · 20 importers

nx_syscalls.nx nx_img_bytes_to_rgb.nx nx_img_to_rgb.nx nx_blitproof.nx nx_charjudge_census.nx nx_contactsheet.nx nx_dedither.nx nx_garment_twin.nx nx_garment_twin_gate.nx nx_img_decode_gate.nx nx_img_to_rgb_gate.nx nx_imgfacts.nx nx_imgpage.nx

diagram shows first 10 each side; +0 more imports, +10 more importers in the complete lists below.

imports: nx_syscalls.nxnx_img_bytes_to_rgb.nx

imported by: nx_blitproof.nxnx_charjudge_census.nxnx_contactsheet.nxnx_dedither.nxnx_garment_twin.nxnx_garment_twin_gate.nxnx_img_decode_gate.nxnx_img_to_rgb_gate.nxnx_imgfacts.nxnx_imgpage.nxnx_imgproof.nxnx_imgquery_e2e_gate.nxnx_manga_bubble.nxnx_manga_bubble_gate.nxnx_manga_charsheet_gate.nxnx_manga_page.nxnx_manga_page_gate.nxnx_phototwin.nxnx_phototwin_gate.nxnx_srcset_lib_gate.nx

structs

none

consts

none

functions

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