Fixed algorithm descriptions in readme.
the build was successful Details

This commit is contained in:
tastytea 2018-12-27 23:23:24 +01:00
parent 35a1cc2233
commit f891679884
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 2 additions and 2 deletions

View File

@ -119,7 +119,7 @@ and you are welcome to redistribute it under certain conditions.
* Use bits from digest to determine if a pixel is painted(1) or not(0).
* Mirror the pixels vertically.
* Use the following bits to pick the foreground color.
* You need `log2(n_colors) + 1` bits.
* You need `floor(log2(n_colors)) + 1` bits.
* Scale image proportionally to requested width.
```PLAIN
@ -140,7 +140,7 @@ Implemented in [ltr_symmetric.cpp]
* Pixels are drawn from left to right, top to bottom.
* Use bits from digest to determine if a pixel is painted(1) or not(0).
* Use the following bits to pick the foreground color.
* * You need `log2(n_colors) + 1` bits.
* * You need `floor(log2(n_colors)) + 1` bits.
* Scale image proportionally to requested width.
```PLAIN