1.0.13 • Published 5 years ago

webpmux-info v1.0.13

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

npm version

webpmux-info

This package uses webpmux and parses it into a javascript object.

Install

npm install webpmux-info

Usage

const webpmux_info = require('webpmux-info');

webpmux_info("./image.webp").then((animated_info)=>{
	
}).catch((err)=>{
  console.log(err);
});

An example of how the response data would look

{ 
  canvas: { width: '365', height: '372' },
  features: 'animation',
  background_color: '0x00000000',
  loop_count: '0',
  frames: '25',
  total_duration: 2250,
  pages:
   [ 
      {
       width: '365',
       height: '372',
       alpha: 'no',
       x_offset: '0',
       y_offset: '0',
       duration: '90',
       dispose: 'none',
       blend: 'no',
       image_size: '44312',
       compression: 'lossless' 
      },
      ...
   ]
1.0.13

5 years ago

1.0.12

5 years ago

1.0.11

5 years ago

1.0.10

5 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago