Python: Import X8R8G8B8 DDS texture as A8R8G8B8?
So far, I modify the header of the DDS texture file (according to how it is documented officially), as I didn't find another way. It's still a kinda hackish solution for me, but it's also a hackish problem I have.

with BinaryWriter(open(image_file_name, "r+b")) as writer:
    writer.seek(0x68) # DDS_HEADER-&gt;DDS_PIXELFORMAT-&gt;dwABitMask
    writer.write_uint32(0xFF000000) # Mask of the alpha data.


(BinaryWriter is a custom class. Simply pack an unsigned integer at position 0x68 which masks the alpha bits.)