Made it possible to save TGA files.