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 · 20 importers
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
| 8 | func nx_img_to_rgb(path: *u8, out_wh: *i64) -> *u8 called by 27: maincjp_lenscjp_topngcjp_figcropmaindd_classify+21 calls 3: sys_mmapsys_read_filenx_img_bytes_to_rgb |