Added support for the TGA file format in the codec