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:
@@ -34,6 +34,10 @@ for file; do
|
|||||||
if [[ $mime = image/x-canon-cr2 ]]; then
|
if [[ $mime = image/x-canon-cr2 ]]; then
|
||||||
extractRAW "$file"
|
extractRAW "$file"
|
||||||
|
|
||||||
|
elif [[ $mime = image/tiff ]]; then
|
||||||
|
prev="./JPGs/${file%.*}.JPG"
|
||||||
|
[[ -e "$prev" ]] || convert "$file" "$prev"
|
||||||
|
|
||||||
elif [[ "$(head -1 "$file")" = "#Geeqie collection" ]]; then
|
elif [[ "$(head -1 "$file")" = "#Geeqie collection" ]]; then
|
||||||
while read line; do
|
while read line; do
|
||||||
extractRAW "$file"
|
extractRAW "$file"
|
||||||
|
|||||||
Reference in New Issue
Block a user