convert ktx to png with alpha channel

3.5k Views Asked by At

I extracted KTX textures from an Android game and I tried to convert them using PVRTexToolCLI, however the PNGs do not contain any alpha channel information. Also, some KTX images are not 2 powered size and PVRTexToolCLI does not support them. Is there any solutions for this problem?

1

There are 1 best solutions below

3
Simon F On

Are you certain they do contain alpha?

FWIW, using PVRTexToolGUI, I just created a PVRTC 4bpp texture that contained varying alpha in ktx format and then decompressed it using:

PVRTexToolCLI.exe -i SrcFileName.ktx -f r8g8b8a8 -d OutputFileName.png

which worked as expected. I can't comment onthe size question though.

To be honest, you might be better off asking this sort of question on the PowerVR Insider Graphics Forum