Gif to Sprite Converter - Upload Gifs Without Sacrificing Quality!
190
Published 2021-01-02
Website for tool: https://scratch-tools.github.io/gif2sprite/
Example gif from https://giphy.com/gifs/89a-design-art-animation-povenlBAIz14s
@Wavecolor for inspiring this project
Thanks to StackOverflow, GitHub, and Google for helping me find the libraries needed.
JavaScript Libraries Used:
gif-frames - to get individual frames from a gif file - https://github.com/benwiley4000/gif-frames
JSZip - to generate a zip file (SB3 and sprite3 files are actually just disguised zip files) - https://github.com/Stuk/jszip
FileSaver.js - to download the zip files - https://github.com/eligrey/FileSaver.js
SparkMD5 - for generating md5 hashes needed for costumes - https://github.com/satazor/js-spark-md5