I get some pretty bizarre results when converting a PNG texture to a KTX2 texture. Maybe I'm skipping a step or something?
I've used a couple different methods of removing the ICC profile and also different compression formats. Same basic result.
I've attached an image that shows the PNG on top compared to the KTX2 texture below.
Here are the commands I'm using to generate the KTX2 texture:
toktx --assign_oetf srgb --t2 --genmipmap example.ktx2 example.png
ktxsc --uastc 1 -o example_2.ktx2 example.ktx2
It might be worth mentioning that there is a bloom effect being applied, but as long as the underlying texture has the same RGB values, I don't see how that would affect the final rendered image.