mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-12-01 00:43:08 +01:00
Replace "convert" call with "magick"
"convert" should not be used anymore, it gives a warning Fixes #103
This commit is contained in:
parent
4efa0f976e
commit
f78da3d5d1
@ -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] |
|
||||
|
@ -117,7 +117,7 @@ pdf T{
|
||||
pdftoppm
|
||||
T}
|
||||
svg T{
|
||||
convert
|
||||
magick
|
||||
T}
|
||||
text T{
|
||||
bat cat highlight source\-highlight
|
||||
|
@ -1,7 +1,7 @@
|
||||
# svg: convert
|
||||
|
||||
svg() {
|
||||
convert "$f" "jpg:$cache_f"
|
||||
magick "$f" "jpg:$cache_f"
|
||||
}
|
||||
|
||||
convert_and_show_image svg
|
||||
|
Loading…
Reference in New Issue
Block a user