diff options
| -rw-r--r-- | arthur/exts/systems/system_information.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arthur/exts/systems/system_information.py b/arthur/exts/systems/system_information.py index 03182b1..3ea28e7 100644 --- a/arthur/exts/systems/system_information.py +++ b/arthur/exts/systems/system_information.py @@ -172,9 +172,10 @@ I enjoy talking to you. Your mind appeals to me. It resembles my own mind except with Image(file=image_bytes) as img: img.resize(resolution, resolution) - img.type = "grayscale" - img.kmeans(number_colors=2) + img.quantize(number_colors=2, treedepth=8, dither=True) + + img.type = "grayscale" img.format = "png" img.save(file=out_bytes) |