Skip to content

francisrstokes/Image-Glitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Image Glitcher

This little node script glitches jpgs by randomly modifying bytes in the original and generating new images, and then assembling those into a gif using Image Magick.

It can turn an innocent image of Dan Crabramov like this:

Into this:

Usage

./glitch.js ./images/DanCrabramov.jpg DanGlitched.gif

# Or we can control the glitchiness level by adding a number at the end
# 1 is very low and 50 is super glitchy
# (warning: may just not work if the number is too high)
./glitch.js ./images/DanCrabramov.jpg DanGlitched.gif 50

Levels

Low (1)

Medium (5)

Medium (15)

Extreme (50)

About

💢 Generates glitchy GIFs from JPEGs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published