From a809d6633aec77e735360880ee39f128e81ebc0a Mon Sep 17 00:00:00 2001 From: kRHYME7 Date: Sun, 13 Oct 2024 02:25:02 +0800 Subject: [PATCH] fix: use magick instead of convert --- Scripts/Run-Screencap | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Run-Screencap b/Scripts/Run-Screencap index 633e70a..36aee2a 100644 --- a/Scripts/Run-Screencap +++ b/Scripts/Run-Screencap @@ -169,7 +169,7 @@ case ${OPTION} in enable_package tesseract-data-eng tesseract GEOM=$(slurp) grim -g "${GEOM}" "${temp_screenshot}" - pkg_installed imagemagick && convert "${temp_screenshot}" -sigmoidal-contrast 10,50% "${temp_screenshot}" + pkg_installed imagemagick && magick "${temp_screenshot}" -sigmoidal-contrast 10,50% "${temp_screenshot}" tesseract "${temp_screenshot}" - | wl-copy notify-send -a "Screencap" "OCR preview" -i "${temp_screenshot}" -e rm -f "${temp_screenshot}"