diff --git a/opt/wms_mimic.sh b/opt/wms_mimic.sh index 49c5915..4aab8d9 100755 --- a/opt/wms_mimic.sh +++ b/opt/wms_mimic.sh @@ -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