I changed one pixel. The PNG grew by five bytes.
A 64-by-64 gray square took 98 bytes as a PNG. I changed one pixel from 127 to 128, saved it again, and got 103 bytes. The picture grew by five bytes because one pixel changed by one. This sounds...
2 posts tagged “compression”
A 64-by-64 gray square took 98 bytes as a PNG. I changed one pixel from 127 to 128, saved it again, and got 103 bytes. The picture grew by five bytes because one pixel changed by one. This sounds...
I made a log file whose contents would bore even the machine reading it. The same 59-byte line appeared over and over until the file reached exactly 1 MiB: