Go to file
Niles Rogoff 78466698fc Added dithering, added documentation for dithering and bits per color, vastly simplified test suite by abstracting control logic to another function, added tests for dithering, removed debug info 2016-07-11 11:15:59 -04:00
test Added dithering, added documentation for dithering and bits per color, vastly simplified test suite by abstracting control logic to another function, added tests for dithering, removed debug info 2016-07-11 11:15:59 -04:00
.gitignore Tests 2016-07-08 14:57:10 -04:00
2bit.py Added dithering, added documentation for dithering and bits per color, vastly simplified test suite by abstracting control logic to another function, added tests for dithering, removed debug info 2016-07-11 11:15:59 -04:00
README.md Added dithering, added documentation for dithering and bits per color, vastly simplified test suite by abstracting control logic to another function, added tests for dithering, removed debug info 2016-07-11 11:15:59 -04:00

README.md

Image downsampling converter

Inspired by 2bit

Usage: python3 2bit.py infile.png [outfile.png] [bits] [--per-color] [--dither dither_value]

dither_value can be like 50%, 50 or .5

Warning: Will probably turn transparency black

You can change the number of bits for different results. 1 would be just black and white, while 8 would be the original image in greyscale.