summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pywal/colors.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/pywal/colors.py b/pywal/colors.py
index 0ede3e1..18a237a 100644
--- a/pywal/colors.py
+++ b/pywal/colors.py
@@ -11,8 +11,9 @@ from . import util
def imagemagick(color_count, img):
"""Call Imagemagick to generate a scheme."""
- colors = subprocess.Popen(["convert", img, "+dither", "-colors",
- str(color_count), "-unique-colors", "txt:-"],
+ colors = subprocess.Popen(["convert", img, "-resize", "25%",
+ "+dither", "-colors", str(color_count),
+ "-unique-colors", "txt:-"],
stdout=subprocess.PIPE)
return colors.stdout.readlines()