Skip to content

Chi-EEE/Gif-Decoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

af3f0b3 · Jul 29, 2024
Jul 28, 2024
Jul 28, 2024
Jul 21, 2022
Jul 28, 2024
Jul 28, 2024
Jul 28, 2024
Aug 23, 2022
Jul 29, 2024
Jul 29, 2024
Jul 21, 2022
Jul 28, 2024
Jul 21, 2022
Aug 18, 2022
Jul 21, 2022
Jul 28, 2024
Jul 28, 2024
Jul 29, 2024
Jul 21, 2022
Jul 28, 2024
Jul 21, 2022
Jul 28, 2024
Jul 28, 2024
Jul 28, 2024
Jul 29, 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'))