Extended version of sindresorhus/is-webp, which added Animated WebP detection support. also it does not have any dependency. so tiny!
It takes File
or ArrayBuffer
and checks given file is WebP, or Animated WebP.
If File
is provided, package automatically handles additional requirements like seeking, buffering...
- CATCH - 캐치패션 - 세상 쉬운 명품 직구 - We're hiring!
https://mooyoul.github.io/is-webp-extended/
$ npm install is-webp-extended --save
<script src="https://unpkg.com/is-webp-extended" type="text/javascript" ></script>
- Simple File Format (Lossy)
- Simple File Format (Lossless)
- Extended File Format (e.g. Animated WebP)
returns given input is WebP or not
returns given input is Animated WebP or not
See CHANGELOG.
$ npm run test
$ npm run build
- sindresorhus/is-webp - Check if a Buffer/Uint8Array is a WebP image
- mooyoul/node-webpinfo - Strongly typed, Stream based WebP Container Parser
See full license on mooyoul.mit-license.org