Today , i learn about Incorporating Graphics and Color.
1. Graphics Format
2. Use <img> element
3. Control image , background with CSS
Graphics Format
GIF
GIF (Graphics Interchange Format) is an 8-bit image supports 256 colors and can only be used in grayscale mode, bitmaps, and color index. Image with this format supports the use of multiple bitmaps in one file so that it can be used to create animated images (animation). In addition, the GIF format also supports Transparency and Interlacing.
PNG
Image with PNG (Portable Network Graphics) was first developed in 1995. This format uses lossless compression method, which is a method of compressed images with not too much reducing its quality. At first the PNG format is designed to be a lack of GIF.
JPG / JPEG
JPEG was developed in the early 1980s by the Joint Photographic Experts Group (JPEG). JPEG is the most commonly used format on the internet. Such as GIF, JPEG format also uses a compression system, but the algorithm is different; much more complex and lossy.
Because it is a lossy compression process it is not recommended if we edit it repeatedly. Why? Because in every process there will be a compress-decompress the original image information is lost (wasted) and can not be saved, especially if there is a process of "crop" or "shift" of the image.
For more concern : download
1. Graphics Format
2. Use <img> element
3. Control image , background with CSS
Graphics Format
GIF
GIF (Graphics Interchange Format) is an 8-bit image supports 256 colors and can only be used in grayscale mode, bitmaps, and color index. Image with this format supports the use of multiple bitmaps in one file so that it can be used to create animated images (animation). In addition, the GIF format also supports Transparency and Interlacing.
PNG
Image with PNG (Portable Network Graphics) was first developed in 1995. This format uses lossless compression method, which is a method of compressed images with not too much reducing its quality. At first the PNG format is designed to be a lack of GIF.
JPG / JPEG
JPEG was developed in the early 1980s by the Joint Photographic Experts Group (JPEG). JPEG is the most commonly used format on the internet. Such as GIF, JPEG format also uses a compression system, but the algorithm is different; much more complex and lossy.
Because it is a lossy compression process it is not recommended if we edit it repeatedly. Why? Because in every process there will be a compress-decompress the original image information is lost (wasted) and can not be saved, especially if there is a process of "crop" or "shift" of the image.
For more concern : download
0 comments:
Post a Comment