Skip to content

mattdesl/gif-extractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gif-extractor

Extract PNG frames from a set of GIF files, optionally upscaling them to a specific size (with nearest-neighbour scaling).

Online demo: https://gif-extractor.netlify.app/

Approach

This uses gifuct-js to extract frames, and coalesces them into a raw ArrayBuffer. This is then encoded with fast-png, and then saved to a folder on disk using Chrome's File System API.

Build & Run Locally

Clone, cd into this repo, then:

# install dependencies
npm install

# run local dev server
npm run dev

# or build website to disk
npm run build

Also see

  • giftool - to turn a sequence of frames into a GIF

License

MIT, see LICENSE.md for details.

About

simple client-side HTML tool to extract PNG frames from GIFs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published