Home  >  Article  >  What are the two image formats commonly used in web pages?

What are the two image formats commonly used in web pages?

藏色散人
藏色散人Original
2020-04-11 11:14:0122195browse

What are the two image formats commonly used in web pages?

#What are the two image formats commonly used in web pages?

The two image formats commonly used in web pages are "JPEG" and "GIF";

1: Gif is suitable for images with less than 256 colors.

2: GIF is the preferred format for making transparent images and dynamic graphics

3: JPEG is suitable for pictures with gradient colors, delicate colors, oil paintings, etc., but GIF is not good in this regard

Related introduction:

JPEG is a common image format developed by the Joint Photographic Experts Group. The extension of JPEG file is .jpg or .jpeg. It uses lossy compression to remove redundant images and color data. It can display very rich and vivid images while obtaining extremely high compression rate, that is, it can use less Disk space gets better picture quality.

The full name of GIF is Graphics Interchange Format, which can be translated as Graphics Interchange Format. It is used to display indexed color images in Hypertext Markup Language (Hypertext Markup Language). It is widely used on the Internet and other online service systems. . GIF is a public image file format standard, the copyright of which belongs to Compu Serve.

The above is the detailed content of What are the two image formats commonly used in web pages?. 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