Codebase list magicrescue / f7461f9e-1905-423b-9e54-cc3da279ac21/upstream/master recipes / canon-cr2
f7461f9e-1905-423b-9e54-cc3da279ac21/upstream/master

Tree @f7461f9e-1905-423b-9e54-cc3da279ac21/upstream/master (Download .tar.gz)

canon-cr2 @f7461f9e-1905-423b-9e54-cc3da279ac21/upstream/masterraw · history · blame

1
2
3
4
5
6
7
# Extract (at most 30 MB) Canon CR2 RAW files. These are used by the Powershot
# and EOS digital cameras.
# This recipe was contributed by Daniel J Blueman
0 string II*
8 string CR
extension CR2
command dd bs=1024k count=30 of="$1" 2>/dev/null; dcraw -i "$1" || rm -f "$1"