]> granicus.if.org Git - file/commitdiff
use indirect to parse the Exif data, which is really TIFF.
authorChristos Zoulas <christos@zoulas.com>
Thu, 1 Jan 2015 04:17:41 +0000 (04:17 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 1 Jan 2015 04:17:41 +0000 (04:17 +0000)
magic/Magdir/jpeg

index 0e3a1c116d78cc02cd6669f6ef02fef83ff405dc..b6fd76a5e3bc23053cf2c40ee10937df0489939a 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: jpeg,v 1.22 2015/01/01 02:57:40 christos Exp $
+# $File: jpeg,v 1.23 2015/01/01 04:17:41 christos Exp $
 # JPEG images
 # SunOS 5.5.1 had
 #
@@ -31,6 +31,9 @@
 # Next, show thumbnail info, if it exists:
 >>18   byte            !0              \b, thumbnail %dx
 >>>19  byte            x               \b%d
+>6     string          Exif            \b, Exif standard: [
+>>12   indirect        x
+>>12   string          x               \b]
 
 # Jump to the first segment
 >(4.S+4)       use             jpeg_segment
 
 >0     beshort         0xFFE1          
 #>>(2.S+2)     use                     jpeg_segment
->>4    string          Exif            Exif Standard
->>>10  string          MM              (big endian)
->>>>20 use             \^tiff_entry
->>>10  string          II              (little endian)
->>>>20 use             tiff_entry
+>>4    string          Exif            \b, Exif Standard: [
+>>>10  indirect        x               
+>>>10  string          x               \b]
 
 # Application specific markers
 >0     beshort&0xFFE0  =0xFFE0