pub fn effect() -> Vec<u8> ⓘExpand description
Applies Bayer dithering to a given image with the following 4x4 Bayer matrix:
| --- | --- | --- | --- |
| 0 | 128 | 32 | 160 |
| --- | --- | --- | --- |
| 192 | 64 | 224 | 65 |
| --- | --- | --- | --- |
| 48 | 176 | 16 | 144 |
| --- | --- | --- | --- |
| 240 | 112 | 208 | 80 |
| --- | --- | --- | --- |