Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

BayerMatrix

A simple algorithm to generate bayer matrix for ordered dithering. Can output to PNG using PIL. The PNG files included in this repo should be enough for most use cases.

For dithering, the 16x16 version should produce the best results with the least banding since it has 256 discrete values as opposed to 64 in the 8x8 version.

16x2 16x16 matrix (tiled 2x)
8x4 8x8 matrix (tiled 4x)
4x8 4x4 matrix (tiled 8x)
2x16 2x2 matrix (tiled 16x)

More sizes

About

PNG versions of Bayer matrix for ordered dithering, plus the python used to generate them.

Resources

License

Releases

No releases published

Packages

No packages published

Languages