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] |
| office | [libreoffice][libreoffice] |
| pdf | pdftoppm |
| svg | convert |
| svg | magick |
| text | bat cat [highlight][highlight] [source-highlight][source-highlight] |
| torrent | transmission-show |
| video | [ffmpegthumbnailer][ffmpegthumbnailer] |

View File

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

View File

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