nx_img_convert.nx
buildroot/runtime/nx_img_convert.nx
about
nx_img_convert.nx -- sovereign image CONVERT (resize -> encode), end-to-end.
Composes the sovereign resampler (nx_img_scale) + the sovereign PNG encoder
(nx_png_write) -- ZERO 3rd-party. This is the "upscaling/downscaling when
media is converted" path: pixels in -> scaled -> real PNG out that any viewer
can see. Reuses existing organs (DRY #15) rather than rebuilding decode/
encode that a parallel media-stack workstream already shipped.
The input-decode side (real PNG/JPEG -> pixels via nx_png_decode /
nx_jpeg_decode -> here) is the immediate next rung.
license_tier: ORIGINAL
dependencies 3 imports · 0 importers
imports: nx_syscalls.nxnx_img_scale.nxnx_png_write.nx
imported by: nobody (leaf or entry point)
call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown
structs
| none |
consts
| none |
functions
| 19 | func nx_img_convert_rgb_to_png(src: *u8, sw: i64, sh: i64, |
| 28 | func main() -> i64 |