This commit is contained in:
committer@tuxwarrior
2026-02-27 18:51:19 -05:00
parent 078eb502d6
commit 70869ef78a

View File

@@ -5,7 +5,8 @@ w="$2" h="$3" x="$4" y="$5"
case "$(file -Lb --mime-type "$file")" in
image/*)
kitten icat --stdin no --transfer-mode memory --place "${w}x${h}@${x}x${y}" "$file" /dev/tty
# kitten icat --stdin no --transfer-mode memory --place "${w}x${h}@${x}x${y}" "$file" /dev/tty
kitten icat --stdin no --transfer-mode memory "$file" /dev/tty
;;
application/pdf)
pdftoppm -f 1 -singlefile "$file" "/tmp/lfoutput"