Skip to content

Commit

Permalink
fix: use magick instead of convert
Browse files Browse the repository at this point in the history
  • Loading branch information
kRHYME7 committed Oct 12, 2024
1 parent 902e8dd commit a809d66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Scripts/Run-Screencap
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit a809d66

Please sign in to comment.