The InternetWeb design

PNG format: features, application and reasons for popularity

One of the main tasks facing new website designers is the quick loading of pages by browsers. And since minimal design is not liked by all users, we have to look for a compromise between beautiful design with elegant graphic elements and the speed of the web resource. Previously, in order to reduce the weight of images, site developers used either GIF or JPG. Now, more and more often, wordpress uses PNG images. Let's try to understand together why this happens.

Why the PNG-format was invented

The abbreviation, which is the name of this type of graphics, is formed from the first letters of the following English words: portable network graphics, which can be translated as "relocatable graphics for use on the network." PNG-format was specially invented in order to eliminate the drawbacks of compression using the simpler GIF algorithm, which slowly began to become obsolete. In addition, it can to some extent be used to replace the much cumbersome TIFF, used mainly for editing.

What is the PNG format?

To date, two versions of this algorithm are widely used. In the first case, an 8-bit color palette is used, and in the second case, a 24-bit color palette . Photos in PNG-8, in comparison with the GIF-version, differs somewhat better degree of compression and the lack of the ability to create animations. Despite the fact that such an image can contain a maximum of 256 colors, this algorithm is widely used to create graphic text, logos, illustrations with clear edges and images with gradient transparency. In cases where this is clearly not enough, developers use a 24-bit PNG-format, which has a lot of additional advantages, such as:

  • Improved compression algorithm, which negates any loss of quality.
  • The possibility of using alpha transparency provides 256 different levels of transparency.
  • The presence of gamma correction, which automatically adjusts the brightness of the picture when playing in different programs.
  • Ability to use about 16.7 million color shades.

All this together promotes the use of PNG24 for the compression of any images containing transparent areas, drawings with a large number of colors and clear boundaries of the image.

Development trend

Despite the fact that the distribution of PNG-format is still restrained by old browsers, as well as insufficient and incomplete support of the capabilities of this algorithm in new versions, for web graphics PNG is very promising. Compared to GIF, it has three main advantages: alpha channels, gamma correction and two-dimensional interlacing (the method of progressive display of the image). And in comparison with JPEG it does not have any quality loss. Note that the PNG format was invented on January 4, 1995. Since that time, 18 years have passed, and he began to lead the way in the use of websites, pushing GIF to second place. Most custom graphics programs (for example MS Paint) today have adopted it as a standard for saving files "by default". Probably, if it were not for the animation and quirks of older versions of Internet Explorer, GIF would have given way to its competitor even earlier.

Similar articles

 

 

 

 

Trending Now

 

 

 

 

Newest

Copyright © 2018 en.delachieve.com. Theme powered by WordPress.