Adds a 2x2 1-bit Adam7 palette PNG without tRNS, suggested in review,
so a fix limited to 8-bit or non-interlaced palette images fails.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Decode wrote alpha_value into every pixel of a palette image without a
tRNS chunk. Firmware 13.42's module leaves such pixels opaque (0xFF) and
applies alpha_value only to grayscale and RGB images without alpha.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The PS5 module checks max_image_width - 1 > 999999 in
scePngDecQueryMemorySize and scePngDecCreate and returns
0x80690003 (INVALID_PARAM). This returned 0x80690002 (INVALID_SIZE)
and accepted a width of 1000001.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
- Return SCE_PNG_DEC_ERROR_INVALID_SIZE when PngDecCreateParam::this_size does not match sizeof(PngDecCreateParam), matching libSceJpegDec behavior.
- Add test coverage for invalid create parameter size.