I was looking at this image and it has 8,21 KBs(8210 Bytes)
, its size is 100x100px
, totaling 10.000 pixeis
.
Then every% of% it can save position and color.
How is this done?
There is not only 256-color PNG, there are 24bits and 32bits PNG images and they are not only composed of pixels but are composed of several layers ( filters ), so their calculation is not correct, the colors can also represent different weights.
Note that an image, even 256 colors being wider than another image however lower at the same time may weigh less, even if the ratio of the image remains relatively small.
Depending on the color scale, an image identical to another (both being PNG) can weigh much more, so much so that there are techniques, software and services that are made to optimize PNG files to the maximum without losing the visual quality of the image, examples :An article that explains about the operation of filters and compression:
Specifications: