GIF JPEG PNG image Introduction - HTML image - Guide to HTML, XHTML Guide

Change Font Size: / / Directory List

7.2. GIF JPEG PNG Image Profile

Design website frequently used by the picture, there are three: GIF JPEG PNG

They have the same point after compression, the higher the compression ratio, the worse the image quality.

GIF (Graphics Interchange Format): supports up to 256 colors, transparent support, support multi-frame animation effect. (Can be used in lower-quality or the need for transparency or animation shown)

JPEG (Joint Photographic Experts Group): supports a wide range of colors, can be very high compression ratio, using lossy compression, and does not support transparent, and does not support animation. (Can be used in higher quality occasions: landscapes, pictures, etc. )

PNG (Portable Network Graphics): The picture is a new technology, can be expressed with high picture quality, the use of a lossless compression, support for transparent, and does not support animation. (W3c is recommended http://www.w3.org/Graphics / PNG /)