My company uses PVRTexToolCLI for converting png files into uncompressed ktx files. On files 4096x4096, it seems to improperly pad the next to final mipmap, so when we read the imagesize for the final mipmap, it has an invalid value.
I’ve tested loading the resulting files on the Pico Pixel image viewer and it also has trouble loading the files, so I don’t believe our loading code is at fault.
Can you help us solve this?