Skip to content

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

License

Notifications You must be signed in to change notification settings

tromero/BayerMatrix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages