@googleforcreators/media
Version:
Functionality for creating and working with media resources in the Web Stories editor.
12 lines • 455 B
TypeScript
/**
*
* Loosely based on https://www.npmjs.com/package/animated-gif-detector (MIT-compatible ISC license)
*
* See http://www.matthewflickinger.com/lab/whatsinagif/bits_and_bytes.asp for how GIFs are structured.
*
* @param buffer The GIF ArrayBuffer instance.
* @return Whether this is an animated GIF or not.
*/
declare function isAnimatedGif(buffer: ArrayBuffer): boolean;
export default isAnimatedGif;
//# sourceMappingURL=isAnimatedGif.d.ts.map