mirror of
https://github.com/NikitaIvanovV/ctpv.git
synced 2024-11-28 07:23:07 +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] |
|
| 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] |
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user