From c6c8fda6c52b3f98d6adb09d3832ea847898acec Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sat, 14 Feb 2015 17:30:03 +0000 Subject: [PATCH] PR/247: Add mime type for Web/P and remove the commented out entry in images --- magic/Magdir/images | 7 +------ magic/Magdir/riff | 3 ++- 2 files changed, 3 insertions(+), 7 deletions(-) diff --git a/magic/Magdir/images b/magic/Magdir/images index 1f90cc9c..88107408 100644 --- a/magic/Magdir/images +++ b/magic/Magdir/images @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: images,v 1.104 2015/01/24 22:45:46 christos Exp $ +# $File: images,v 1.105 2015/02/14 17:30:03 christos Exp $ # images: file(1) magic for image formats (see also "iff", and "c-lang" for # XPM bitmaps) # @@ -1044,11 +1044,6 @@ # From: "Tano M. Fotang" 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 - # doc: http://www.shikino.co.jp/eng/products/images/FLOWER.jpg.zip # example: http://www.shikino.co.jp/eng/products/images/FLOWER.wdp.zip 90 bequad 0x574D50484F544F00 JPEG-XR Image diff --git a/magic/Magdir/riff b/magic/Magdir/riff index e551292b..55cfb20b 100644 --- a/magic/Magdir/riff +++ b/magic/Magdir/riff @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: riff,v 1.30 2014/09/23 17:02:12 christos Exp $ +# $File: riff,v 1.31 2015/02/14 17:30:03 christos Exp $ # riff: file(1) magic for RIFF format # See # @@ -230,6 +230,7 @@ # AMV-type AVI file: http://wiki.multimedia.cx/index.php?title=AMV >8 string AMV\040 \b, AMV >8 string WEBP \b, Web/P image +!:mime image/webp >>12 use riff-walk # -- 2.40.0