Skip to content

Instantly share code, notes, and snippets.

@v21
Created January 11, 2014 13:29
Show Gist options
  • Save v21/8370964 to your computer and use it in GitHub Desktop.
Save v21/8370964 to your computer and use it in GitHub Desktop.
take a file.gif
gifsicle.exe -b -O3 file.gif
"C:\Program Files (x86)\IrfanView\i_view32.exe" file.gif /extract=("\extracted",gif)
gifsicle.exe extracted/file_frame_*.gif > file.gif
and repeat
(irfanview's gif decoding isn't entirely compatible with the optimized gifs gifsicle spits out, so glitching the gif out. you can obviously then repeat this, to increase the level of glitching present)
See an example output at http://nottheinternet.com/files/art_glitched.gif
@v21
Copy link
Author

v21 commented Jan 11, 2014

(the unfortunate part of this technique is that it needs cmd.exe and MSys for different commands.. MSys for the * globbing in the last step, cmd.exe to get IrfanView to work.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment