Giffer - seamlessly embed JS into a GIF image to be usable both in <script> and <img> tags
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Usage: giffer.sh input.gif input.js output.gif | |
(echo -n "GIF89a=/*";tail -c +10 $1;echo -n "*/0;$(<$2);")>$3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment