Go to file
Niles Rogoff b4d8fedf74 Fixed bug where only the first 48 tests would run correctly. Fixed bug where the progress bar would not update correctly and would display an incomplete bar even if the image was done 2016-07-11 17:46:56 -04:00
test Fixed bug where only the first 48 tests would run correctly. Fixed bug where the progress bar would not update correctly and would display an incomplete bar even if the image was done 2016-07-11 17:46:56 -04:00
.gitignore NEW FANCY-ASS PROGRESS BAR 2016-07-11 11:32:38 -04:00
2bit.py Fixed bug where only the first 48 tests would run correctly. Fixed bug where the progress bar would not update correctly and would display an incomplete bar even if the image was done 2016-07-11 17:46:56 -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.