PNG is a raster image format developed by PNG Development Group. The name PNG is an abbreviation for Portable Network Graphic. This image format is used primarily on the Internet for posting on web pages, since PNG files use Deflate compression without losing quality. The development of this format was undertaken in order to replace the GIF format, to which there were many complaints. PNG's image quality and specifications were much better, but unlike GIF, it does not support animation and uses the CMYK palette.
SVG is one of the formats of two-dimensional vector graphic files that are created on the basis of documents in XML format. The developer is Adobe Systems, and the name of the format is an abbreviation for Scalable Vector Graphics File. In the SVG format, not only two-dimensional vector images can be created, but also mixed vector-raster images. At the same time, SVG files are text files, and therefore they can be opened in most popular text editors. This extension is able to support both static and animated graphics. At the same time, when working with such files, editing occurs without loss of quality.