Source code is indeed the best way to gather information: there's a TTGAImage class in TGA.pas which contains the image header's specifications, though I simply ended up renaming all the textures that had an alpha channel as ImageName_.tga and using the file name to decide what texture format to use.