#------------------------------------------------------------------------------
-# $File: images,v 1.93 2014/09/13 20:17:14 christos Exp $
+# $File: images,v 1.94 2014/09/15 15:10:42 christos Exp $
# images: file(1) magic for image formats (see also "iff", and "c-lang" for
# XPM bitmaps)
#
0 string \x46\x4d\x52\x00 ISO/IEC 19794-2 Format Minutiae Record (FMR)
# WEBP https://developers.google.com/speed/webp/docs/riff_container
-0 string RIFF
->8 string WEBP Web/P image data
->>4 lelong x \b, %d bytes
+#0 string RIFF
+#>8 string WEBP Web/P image data
+#>>4 lelong x \b, %d bytes
#------------------------------------------------------------------------------
-# $File: riff,v 1.28 2014/09/13 14:04:21 christos Exp $
+# $File: riff,v 1.29 2014/09/15 15:10:42 christos Exp $
# riff: file(1) magic for RIFF format
# See
#
>0 string fact
>>&(4.l+4) use riff-walk
>0 string VP8
->>11 byte 0x9d
->>>10 byte 0x01
->>>>13 byte 0x2a \b, VP8 encoding
->>>>>14 leshort&0x3fff x \b, %d
->>>>>16 leshort&0x3fff x \bx%d
+>>11 byte 0x9d
+>>>12 byte 0x01
+>>>>13 byte 0x2a \b, VP8 encoding
+>>>>>14 leshort&0x3fff x \b, %d
+>>>>>16 leshort&0x3fff x \bx%d, Scaling:
+>>>>>14 leshort&0xc000 0x0000 \b [none]
+>>>>>14 leshort&0xc000 0x1000 \b [5/4]
+>>>>>14 leshort&0xc000 0x2000 \b [5/3]
+>>>>>14 leshort&0xc000 0x3000 \b [2]
+>>>>>14 leshort&0xc000 0x0000 \bx[none]
+>>>>>14 leshort&0xc000 0x1000 \bx[5/4]
+>>>>>14 leshort&0xc000 0x2000 \bx[5/3]
+>>>>>14 leshort&0xc000 0x3000 \bx[2]
#>0 string x we got %s
#>>&(4.l+4) use riff-walk
>8 string 4XMV \b, 4X Movie file
# AMV-type AVI file: http://wiki.multimedia.cx/index.php?title=AMV
>8 string AMV\040 \b, AMV
->8 string WEBP \b, WEBP image
+>8 string WEBP \b, Web/P image
>>12 use riff-walk
#
>>&6 leshort =2 \b, stereo
>>&6 leshort >2 \b, %d channels
>>&8 lelong >0 %d Hz
-