Skip to content

Commit

Permalink
Add WebP FileRecognition (but not support) (#2334)
Browse files Browse the repository at this point in the history
* add webp recognition

* formatting
  • Loading branch information
Uzlopak committed Mar 23, 2019
1 parent 7013911 commit 0d61792
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/addimage.js
Expand Up @@ -49,6 +49,7 @@
JPEG2000: [[0x00, 0x00, 0x00, 0x0C, 0x6A, 0x50, 0x20, 0x20]],
GIF87a: [[0x47, 0x49, 0x46, 0x38, 0x37, 0x61]],
GIF89a: [[0x47, 0x49, 0x46, 0x38, 0x39, 0x61]],
WEBP: [[0x52,0x49,0x46,0x46,undefined, undefined, undefined, undefined, 0x57, 0x45, 0x42, 0x50]],
BMP: [
[0x42, 0x4D], //BM - Windows 3.1x, 95, NT, ... etc.
[0x42, 0x41], //BA - OS/2 struct bitmap array
Expand Down

0 comments on commit 0d61792

Please sign in to comment.