I used ufraw-batch
in my Nautilus scripts like this one:
#!/bin/bash
while [ $# -gt 0 ]; do
picture=$1
ufraw-batch --out-type jpg "$picture"
shift
done
It helped me a lot for generating previews of raw photos, located in different file-servers.
I have installed 20.04 and found, that ufraw-batch
is not in repos anymore. What can I do?
Thanks for the answer, this is my new script using dcraw
and imagick
instead, hope it helps somebody:
#!/bin/bash
while [ $# -gt 0 ]; do
picture=$1
j_file=`echo "$picture" | sed 's/\.\w*$/.jpg/'`
dcraw -c -w "$picture" | convert - "$j_file"
shift
done