A library for Wii and GameCube that "wraps" libpng, facilitating PNG handling and conversions to the native Wii/GC formats.
libpngu-mod is based on libpngu with GRRLIB patches.
- Works with the latest libpng (1.6.37 as of writing)
- Handles images of 8 and 16 bits per channel
- Handles images in RGB, RGBA, grayscale, grayscale + alpha, and indexed formats
- Reads image dimensions, pixel format, background color and transparent colors list
- Converts images to YCbYCr, linear RGB565, linear RGBA8, 4x4 RGB565, 4x4 RGB5A3 and 4x4 RGBA8 formats
- Saves YCbYCr images in PNG RGB8 format
- Handles images stored in memory or in devoptab devices (SD, USB, SDGecko, etc...)
- Ready to be used in multithreaded applications
- Image width and height should be a multiple of 4