TGA is a raster graphic format. It was originally created by Truevision Inc. for graphics cards has its own production in 1984, but later became popular on a variety of platforms, especially in the field of video editing, animation. Format supports color depths 1-32 bits per pixel. There is support for alpha channels, compression RLE.
GIF is a format for the exchange of images. It is a popular format graphics. Capable of storing compressed data without loss of quality in the format of not more than 256 colors. GIF format was developed in 1987 (GIF87a) by company CompuServe for transferring raster images over networks. In 1989, the format has been modified (GIF89a), have been added support transparency and animation.