Skip to content

cansik/processing-imageglitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Processing Image Glitch

Processing image glitch is a small library to add glitch to a PImage in Processing. The algorithm uses the singularity of jpeg compression which allows to display even an corrupted image.

Currently it is a very early alpha version. So the interface to the Glitcher class will change sooner or later!

Example

alt text

Usage

PImage img;
Glitcher glitcher;

void setup()
{
  size(640, 360);
  img = loadImage("images/hipster_velo.jpg");
  
  //create new Glitcher
  glitcher = new Glitcher();
}

void draw()
{
  //glitch image
  PImage wrackedImage = glitcher.glitchImage(glitcher.resizeImage(img));
  image(wrackedImage, 0, 0, width, height);
}

Author

Florian www.easyguet.ch # 2015

About

Processing image glitch is a small library to add glitch to a PImage. The algorithm uses the singularity of jpeg compression, which allows to display even an corrupted image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published