added functions to read and print TGA header