Commit 28b1889
Improve differentiation of semitransparent pixels
* add failing unit test when white is compared with transparent
* fix failing unit test
* fix failing unit test
* increase sensitivity of transparent differenc detection by making pattern repeat with non-integer period.
* remove repeated comparison
* Add digits to color periods
* fix unit test after changing coefficients ever so slightly
---------
Co-authored-by: Volodymyr Agafonkin <[email protected]>1 parent f735f88 commit 28b1889
5 files changed
+5
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
188 | 188 | | |
189 | 189 | | |
190 | 190 | | |
191 | | - | |
192 | | - | |
193 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| |||
0 commit comments