mirror of
https://github.com/dylanaraps/pywal.git
synced 2025-02-18 03:01:03 +01:00
misc: change
This commit is contained in:
parent
30ea15b0e2
commit
88d391af3d
@ -16,8 +16,7 @@ def imagemagick(color_count, img, magick_command):
|
|||||||
flags = ["-resize", "25%", "-colors", str(color_count),
|
flags = ["-resize", "25%", "-colors", str(color_count),
|
||||||
"-unique-colors", "txt:-"]
|
"-unique-colors", "txt:-"]
|
||||||
|
|
||||||
return subprocess.check_output([*magick_command,
|
return subprocess.check_output([*magick_command, img, *flags]).splitlines()
|
||||||
img, *flags]).splitlines()
|
|
||||||
|
|
||||||
|
|
||||||
def has_im():
|
def has_im():
|
||||||
|
Loading…
Reference in New Issue
Block a user