]> granicus.if.org Git - file/commitdiff
symbolic photometric interpretation for tif
authorChristos Zoulas <christos@zoulas.com>
Sat, 13 Sep 2014 20:17:14 +0000 (20:17 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sat, 13 Sep 2014 20:17:14 +0000 (20:17 +0000)
magic/Magdir/images

index 61c2f05dc39847f71f713921cf49542c68263202..94264047d63555db6cf5702e5445917842ce5f46 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: images,v 1.92 2014/09/13 19:46:47 christos Exp $
+# $File: images,v 1.93 2014/09/13 20:17:14 christos Exp $
 # images:  file(1) magic for image formats (see also "iff", and "c-lang" for
 # XPM bitmaps)
 #
 >(4.l) use             tiff_ifd
 
 0      name            tiff_ifd
->0     leshort         x               \b, direntries %d
+>0     leshort         x               \b, direntries=%d
 >2     use             tiff_entry
 
 0      name            tiff_entry
 >>>8   default         x       
 >>>>8  lelong          x               \b(unknown 0x%x)
 >>>12  use             tiff_entry
->0     leshort         0x106
->>4    lelong          1
->>>8   lelong          0               \b, WhiteIsZero
->>>8   lelong          1               \b, BlackIsZero
->>>12  use             tiff_entry
+>0     leshort         0x106           \b, PhotometricIntepretation=
+>>8    lelong          0               \bWhiteIsZero
+>>8    lelong          1               \bBlackIsZero
+>>8    lelong          2               \bRGB
+>>8    lelong          3               \bRGB Palette
+>>8    lelong          4               \bTransparency Mask
+>>8    lelong          5               \bCMYK
+>>8    lelong          6               \bYCbCr
+>>8    lelong          8               \bCIELab
+>>>8   lelong          x               \b(unknown=0x%x)
+>>12   use             tiff_entry
 # FillOrder
 >0     leshort         0x10a
 >>4    lelong          1