webp
is currently broken. To view webp
, or any other unsupported format, enable: Preferences / Advanced / Use external preview extraction.
Create and add the following scripts:
geeqie-identify.sh
#!/usr/bin/env bash
filename=$(basename -- "$1")
extension="${filename##*.}"
case "$extension" in
webp)
exit 0
;;
*)
exit 1
;;
esac
geeqie-decode.sh
#!/usr/bin/env bash
filename=$(basename -- "$1")
extension="${filename##*.}"
output=$(mktemp --tmpdir geeqie_djxl_XXXXXX.jpg)
case "$extension" in
webp)
convert "$1" "$output"
mv "$output" "$2"
;;
esac
Pinned Comments
xiota commented on 2024-01-21 00:40 (UTC) (edited on 2024-01-21 00:42 (UTC) by xiota)
webp
is currently broken. To viewwebp
, or any other unsupported format, enable: Preferences / Advanced / Use external preview extraction.Create and add the following scripts:
geeqie-identify.sh
geeqie-decode.sh