Replace "convert" call with "magick"

"convert" should not be used anymore, it gives a warning

Fixes #103
This commit is contained in:
Bart Libert 2024-09-05 09:34:33 +02:00
parent 4efa0f976e
commit f78da3d5d1
3 changed files with 3 additions and 3 deletions

View File

@ -56,7 +56,7 @@ For example, you only need either `elinks`, `lynx` or
| markdown | [glow][glow] [mdcat][mdcat] | | markdown | [glow][glow] [mdcat][mdcat] |
| office | [libreoffice][libreoffice] | | office | [libreoffice][libreoffice] |
| pdf | pdftoppm | | pdf | pdftoppm |
| svg | convert | | svg | magick |
| text | bat cat [highlight][highlight] [source-highlight][source-highlight] | | text | bat cat [highlight][highlight] [source-highlight][source-highlight] |
| torrent | transmission-show | | torrent | transmission-show |
| video | [ffmpegthumbnailer][ffmpegthumbnailer] | | video | [ffmpegthumbnailer][ffmpegthumbnailer] |

View File

@ -117,7 +117,7 @@ pdf T{
pdftoppm pdftoppm
T} T}
svg T{ svg T{
convert magick
T} T}
text T{ text T{
bat cat highlight source\-highlight bat cat highlight source\-highlight

View File

@ -1,7 +1,7 @@
# svg: convert # svg: convert
svg() { svg() {
convert "$f" "jpg:$cache_f" magick "$f" "jpg:$cache_f"
} }
convert_and_show_image svg convert_and_show_image svg