Home >Common Problem >What are the differences between PNG, GIF and JPG?

What are the differences between PNG, GIF and JPG?

coldplay.xixi
coldplay.xixiOriginal
2020-06-30 14:07:0920136browse

The differences between PNG, GIF and JPG are: 1. JPG is a picture format with high compression ratio and small file size; 2. PNG can support the production requirements of compression without distortion, transparent background and gradient images; 2. , GIF not only includes animated GIF, but also static GIF, which is small in size, relatively clear in imaging, and supports transparent background images.

What are the differences between PNG, GIF and JPG?

The differences between PNG, GIF and JPG are:

1. The full name of JPG is JPEG, which is a A relatively common picture format. It is characterized by high compression ratio and small generated file size.

However, its shortcomings are also obvious. When editing and re-saving JPEG files, JPEG will mix the quality of the original image data, and this decrease is cumulative.

2. PNG has a high compression ratio and a small file size. Its design purpose is to try to replace the GIF and TIFF file formats, while adding some features that the GIF file format does not have. Therefore, PNG combines the advantages of both and can support the production requirements of compression without distortion, transparent background, and gradient images. It is now widely used in PS software and the Internet.

3. GIF. Many people think that GIF refers to animated pictures. In fact, GIF not only includes animated GIFs, but also static GIFs. GIF is characterized by its small size, relatively clear imaging, support for transparent background images, and is suitable for a variety of operating systems

The principle of dynamic GIF is to save multiple images into one image file to form an animation, such as your WeChat Those dynamic emoticons in ↓↓↓

4. TIFF, translated as Tag Image File Format, is a flexible bitmap format mainly used to store images including photos and artwork. TIFF files edited with Photoshop can save paths and layers, and are larger than the previously mentioned formats.

Not only design students are familiar with it, but programmers GG also often deal with it because its scalability supports cross-use between Mac and Windows systems.

Related learning recommendations: PHP programming from entry to proficiency

The above is the detailed content of What are the differences between PNG, GIF and JPG?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn