The first step is finding the bit-depth, which is 3 because 23 is not less than 8.
With the simpler formula, we get:
200 * 300 * 3 / 8 = 180,000 / 8 = 22,500or about 22.5 KB.
With the more complex formula, we get:
200 * 300 * 3 / 8 + 3 * 8 = 22,500 + 24 = 22,524or, again, about 22.5 KB.
The first step is finding the bit-depth, which is 5.
With the simpler formula, we get:
200 * 300 * 5 / 8 = 300,000 / 8 = 37,500or about 37 KB.
With the more complex formula, we get:
200 * 300 * 5 / 8 + 3 * 32 = 37,500 + 96 = 37,596or, again, about 37 KB
The bit-depth is again 5.
With the simpler formula, we get:
400 * 400 * 5 / 8 = 800,000 / 8 = 100,000
With the more complex formula, we get:
400 * 400 * 5 / 8 + 3 * 32 = 100,000 + 96 = 100,096
The bit-depth is again 5! Why? So the simpler formula has the same answer. The more complex formula is slightly different:
400 * 400 * 5 / 8 + 3 * 19 = 100,000 + 57 = 100,057
The bit-depth is now 6! Why?
With the simpler formula, we get:
400 * 400 * 6 / 8 = 960,000 / 8 = 120,000
With the more complex formula, we get:
400 * 400 * 6 / 8 + 3 * 33 = 120,000 + 99 = 120,099
The bit-depth is 8.
With the simpler formula, we get:
400 * 400 * 8 / 8 = 160,000
With the more complex formula, we get:
400 * 400 * 8 / 8 + 3 * 250 = 160,000 + 750 = 160,750