diff options
-rwxr-xr-x | scope.sh | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -55,6 +55,10 @@ if [ "$preview_images" = "True" ]; then # Image previews for image files. w3mimgdisplay will be called for all # image files (unless overriden as above), but might fail for # unsupported types. + application/pdf) + pdftoppm -f 1 -singlefile -jpeg "$path" .thbn && mv .thbn.jpg "$cached" && exit 6 || exit 1;; + image/svg+xml) + rsvg-convert "$path" -d 1 -p 2 > "$cached" && exit 6 ||exit 1;; image/*) exit 7;; # Image preview for video, disabled by default.: |