Codebase list magicrescue / lintian-fixes/main recipes / canon-cr2
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

canon-cr2 @lintian-fixes/mainraw · 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"