# Extracts jpeg files with the Exif magic bytes. These usually originate from
# digital camaras or other devices.
# Depends on jpegtran from libjpeg: http://freshmeat.net/projects/libjpeg/
# See also jpeg-jfif
6 string Exif
0 int32 ffd80000 ffff0000
extension jpg
command jpegtran -copy all -outfile "$1"
