I have read Wiki http://en.wikipedia.org/wiki/Truevision_TGA and I know that the 5-4 bits of the Eighteenth byte of tga file represent the direction of tga file.
So, there is 4 permutations(00,01,10,11) to show us the direction, which direction does each permutation stand for?