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.
JPEG is the most common and popular bitmap format. The form got its name from the name of the organization-developer Joint Photographic Experts Group. Files of this format are used today in all digital cameras and cameras. They have a good compression ratio and support 24-bit color depth. Since such compression significantly reduces image size with virtually no loss of quality, JPEG format is widespread on the Internet. However, the stronger the compression, the worse the quality. In addition, the JPEG format does not support the transparency option.