Skip to main content

effect

Function effect 

Source
pub fn effect() -> Vec<u8> 
Expand description

Applies Bayer dithering to a given image with the following 2x2 Bayer matrix:

| --- | --- |
|  0  | 128 |
| --- | --- |
| 192 | 64  |
| --- | --- |