2.0.6 • Published 1 year ago

@chi_eee/gif-decoder v2.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

@chi_eee/gif-decoder

https://github.com/HuuChiHuynh/Gif-Decoder/actions install size Downloads

Install

npm i @chi_eee/gif-decoder

https://www.npmjs.com/package/@chi_eee/gif-decoder

Usage

Javascript:

const { Decoder } = require('@chi_eee/gif-decoder')
const { readFileSync } = require('fs')

const gif = Decoder.decodePath('sample.gif')
const gif = Decoder.decodeBuffer(readFileSync('sample.gif'))

Typescript:

import { Decoder } from '@chi_eee/gif-decoder';
import { readFileSync } from 'fs'

const gif = Decoder.decodePath('sample.gif')
const gif = Decoder.decodeBuffer(readFileSync('sample.gif'))

Credits

Spec: https://www.w3.org/Graphics/GIF/spec-gif89a.txt

Interlace Function: https://github.com/matt-way/gifuct-js

Gif Blog: https://www.matthewflickinger.com/lab/whatsinagif/index.html

LZW Decompression: https://gist.github.com/devunwired/4479231

Modern Gif: https://github.com/qq15725/modern-gif

2.0.3

1 year ago

2.0.2

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.6

1 year ago

2.0.1

1 year ago

2.0.0

1 year ago

3.0.2

1 year ago

3.0.1

1 year ago

3.0.0

1 year ago

1.5.4

3 years ago

1.5.3

3 years ago

1.4.4

3 years ago

1.5.2

3 years ago

1.4.3

3 years ago

1.4.2

3 years ago

1.3.2

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.10

3 years ago

1.2.9

3 years ago

1.2.8

3 years ago

1.2.7

3 years ago

1.2.5

3 years ago

1.1.5

3 years ago

1.1.4

3 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago