adding svg support to ranger

This commit is contained in:
JesseBot 2022-11-12 11:44:37 +01:00
parent f1468b4205
commit 1c4a6741a5

View file

@ -128,9 +128,9 @@ handle_image() {
local mimetype="${1}" local mimetype="${1}"
case "${mimetype}" in case "${mimetype}" in
## SVG ## SVG
# image/svg+xml|image/svg) image/svg+xml|image/svg)
# convert -- "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6 convert -- "${FILE_PATH}" "${IMAGE_CACHE_PATH}" && exit 6
# exit 1;; exit 1;;
## DjVu ## DjVu
# image/vnd.djvu) # image/vnd.djvu)