GIF file is an image, often accompanied by animation. It is formed by means of specialized graphic editors, it can carry several raster images in a certain sequence. GIF format is widespread in the field of creating banners, as well as the graphic shell of video content. The main advantage is data compression without an obvious loss of quality at a depth of up to 256 colors; modern editions of GIF animations include customizable transparency functions. Animated images consist of a number of static frames, as well as data on the required time of demonstration of a frame. Almost any program for viewing, processing images and video can open the extension, including on mobile devices, smartphones and tablets, regardless of the current operating system.
PNG is one of the popular formats in web graphics. It was proposed in 1995 at the Usenet conference as a free alternative to licensed GIF. Since October 1, 1996, it exists as a full-fledged graphic format supported by all browsers and graphic editors.PNG is one of the most popular formats due to its good compression without loss of quality, fast loading, transparency function, clear image borders. In practice, .png is ideal for saving images with a small number of colors, as well as graphics with transparent areas. Logos, icons, badges, diagrams, scanned copies of documents are usually placed on sites just in .png format