← projects

PNGLITCH wrapper v1.0

This page needs Ruby, and it is not installed on this machine.

The Docker image installs both at build time. Running uvicorn directly does not, so install them once:

sudo apt install ruby-full
sudo gem install pnglitch
ruby -e "require 'pnglitch'; puts PNGlitch::VERSION"   # should print a version

No sudo? Use gem install --user-install pnglitch and make sure ~/.local/share/gem/ruby/*/bin is on your PATH. Then restart the server. Everything else on the site works without this.

1 · Load a PNG

DROP IMAGE HERE

or

SELECT FILE

PNGs pass through untouched — bit depth, palette and interlacing are what make each one glitch differently. Other formats are converted to PNG first. Max 12 MB.

2 · Pick a wrecking method

3 · Tune it

Same image, same settings, same seed gives the same output every time. Re-roll bumps the seed and runs again.

4 · Before and after

ORIGINAL

nothing loaded

GLITCHED

not glitched yet

5 · Run it

ruby that will run