Codebase list magicrescue / upstream/1.1.10+git20181202.7ae1f59 recipes / canon-cr2
upstream/1.1.10+git20181202.7ae1f59

Tree @upstream/1.1.10+git20181202.7ae1f59 (Download .tar.gz)

canon-cr2 @upstream/1.1.10+git20181202.7ae1f59raw · 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"