I am new to working with image formats, so i was happy to successfully load and display a KTX image in my OpenGL application.
Howerver, i am not able to create KTX images that have transparency, here's what i do:
1. I create a and save PNG images that have transparency (with gimp).
> identify image.png
> image.png PNG 256x256 256x256+0+0 8-bit sRGB 41.9KB 0.000u 0:00.000
2. I use ImageMagick's 'convert' tool to create a PAM file:
> convert image.png PNG8:image.pam
> identify image.pam
> image.pam PNG 256x256 256x256+0+0 8-bit sRGB 4.96KB 0.000u 0:00.000
3. I call toktx to convert to KTX:
> toktx image image.pam
> toktx: "image.pam" is not a valid .pam, .pgm or .ppm file
Certainly i'm doing something wrong, so i searched the net for help, but there are so many formats and tools
that i got lost. Can you help me, please?
> toktx --version
> toktx version 1.1