diff options
| author | 2020-09-28 03:37:32 +0100 | |
|---|---|---|
| committer | 2020-09-28 03:37:32 +0100 | |
| commit | aab900877e285aade1bc45966e9b029d5559f04e (patch) | |
| tree | aaaadb8f1f3a080604b15c728a7d17184d203e41 /bot/exts/evergreen/8bitify.py | |
| parent | sync Pipfile and Pipfile.lock (diff) | |
| parent | PR #458 Deps: update Pillow to 7.2 (diff) | |
Merge branch 'master' into minesweeper-contribution
Diffstat (limited to 'bot/exts/evergreen/8bitify.py')
| -rw-r--r-- | bot/exts/evergreen/8bitify.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/8bitify.py b/bot/exts/evergreen/8bitify.py index 60062fc1..c048d9bf 100644 --- a/bot/exts/evergreen/8bitify.py +++ b/bot/exts/evergreen/8bitify.py @@ -14,7 +14,7 @@ class EightBitify(commands.Cog): @staticmethod def pixelate(image: Image) -> Image: """Takes an image and pixelates it.""" - return image.resize((32, 32)).resize((1024, 1024)) + return image.resize((32, 32), resample=Image.NEAREST).resize((1024, 1024), resample=Image.NEAREST) @staticmethod def quantize(image: Image) -> Image: |