Raster file compression
Creating graphic designs requires creators not only ingenuity, knowledge and equipment, sometimes it happens that, despite the knowledge of the industry, we come across a problem that literally blocks us. An example of such a problem is the format in which we save the files, of course the extensions are a whole bunch, however, in this article, let's focus on the most popular PNG, GIF, JPEG, as well as the less-known BMP. Files saved in the BMP format are in fact no longer used on the network, because they have much more weight compared to other formats, which translates into a much longer loading time of such an image and a greater load on the network. In turn, the most popular extension, i.e. JPEG, has the best balance between weight and file quality. Naturally, in this case, we can scale the quality, saving it weight, so by converting the file to the JPEG format at a setting of about 70% we can keep a very decent image. JPEG is, therefore, a lossy format, the next one on our list, the GIF format is its opposite, because there is no loss when converting to this format. The last format I mentioned is PNG, which is a kind of alternative to JPEG files. We can distinguish two formats PNG- PNG24 and PNG8. The main difference is the weight and the number of colors that both formats can accommodate. Naturally, PNG24 will accommodate more colors than PNG8, while PNG8 will have less weight. To sum up PNG24 we use wherever we do not care about weight and only interested in super quality, PNG8 everywhere where we want the text and graphics to be in good quality as well, while JPEG is used where we put image quality first and second somehow text. It is worth adding that if we want to reduce the weight of the file, we can always use applications that compress files.