Skip to content

Chi-EEE/Gif-Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

1fc9039 · Jul 28, 2024

History

99 Commits
Jul 28, 2024
Jul 28, 2024
Jul 21, 2022
Jul 28, 2024
Jul 28, 2024
Jul 28, 2024
Aug 23, 2022
Jul 28, 2024
Jul 28, 2024
Jul 21, 2022
Jul 28, 2024
Jul 21, 2022
Aug 18, 2022
Jul 21, 2022
Jul 28, 2024
Jul 28, 2024
Jul 28, 2024
Jul 21, 2022
Jul 28, 2024
Jul 21, 2022
Jul 28, 2024
Jul 28, 2024
Jul 28, 2024
Jul 28, 2024
Jul 21, 2022
Jul 28, 2024
Jul 28, 2024

Repository files navigation

@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'))