ImageMagick, convert to magick.
This commit is contained in:
parent
f04155dc30
commit
08cf4338b5
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ import -w root $TMPIMG
|
|||
|
||||
# color extractor
|
||||
colext() {
|
||||
convert $TMPIMG -colors $NC -depth 6 -format '%c' -alpha off histogram:info:- | awk -v RS="" '{print $11,$7,$3}' | tr -d '#'
|
||||
magick $TMPIMG -colors $NC -depth 6 -format '%c' -alpha off histogram:info:- | awk -v RS="" '{print $11,$7,$3}' | tr -d '#'
|
||||
}
|
||||
|
||||
# if the image file exists, extract the colors and store them temporarily
|
||||
|
|
Loading…
Reference in a new issue