bin:raw2preview: Add support of TIFFs

I know that TIFFs are not strictly speaking raw files. But I don't
bother remaining the script.
This commit is contained in:
2021-07-13 17:01:54 +02:00
parent 8c66e1cf68
commit 4650ebe641

View File

@@ -34,6 +34,10 @@ for file; do
if [[ $mime = image/x-canon-cr2 ]]; then
extractRAW "$file"
elif [[ $mime = image/tiff ]]; then
prev="./JPGs/${file%.*}.JPG"
[[ -e "$prev" ]] || convert "$file" "$prev"
elif [[ "$(head -1 "$file")" = "#Geeqie collection" ]]; then
while read line; do
extractRAW "$file"