A package to glitch images
Project description
Glitch This!
A commandline tool + python
library to glitchify images and even make GIFs out of them!
Featuring 10 different levels of glitching intensity! The algorithm used to create glitched images is a slightly modifed version of the popular ImageGlitcher tool's algorithm, so you can expect the glitched images to look really cool!
If you like using this tool, please consider starring on Github!
What are you waiting for? Import the library and get glitching!
NOTE : Works best with RGB/RGBA images
What others have to say ~
Changelog
View the changelog here
FEATURES!
- Choose from 10 gradually different levels of glitching intensity! Want just a tiny bit of glitching, enough to make your image look cool? - use level 2 (my favorite)!
- Create Glitched GIFs from a normal image! That's right, before this tool, I had to manually download each image from ImageGlitcher, save them, and then head to a GIF creation website. Now you can do it all at once!
- Customize the number of frames in a GIF as well as their duration - all from the comfort of your terminal!
- Add scan lines for a retro CRT effect!
- Oh and did I mention, color offset? Just like ImageGlitcher, this tool glitches the color channels as well as the pixels - for very convincing looking glitched images!
Requirements
python 3
pillow
numpy
You can install the required packages all at once through the included requirements.txt
Installation
Simply install glitch-this
from pypi!
pip install glitch-this
(OR)
pip3 install glitch-this
Whoa! Cool Glitches
Here's some glitched images generated from this script - of different intensity levels!
NOTE: All these images had -c
parameter included, for color offset
Original image for reference:-
Glitched version - Level 2:-
Not badly glitched now is it?
Glitched version - Level 5:-
Well it's certainly starting to get glitchy
Glitched version - Level 8:-
I don't know what I'm looking at
Let's get some scan lines on there!
Glitched version (scan_lines)- Level 2:-
Glitched version (scan_lines) - Level 5:-
Glitched version (scan_lines) - Level 8:-
That's neat, but how about some GIFs? Here's some GIFs from the same image:-
Note: All the GIFs use default values from FRAMES
and DURATION
, i.e 23 and 200 respectively
Glitched GIF - Level 2:-
Glitched GIF - Level 5:-
Glitched GIF - Level 8:-
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for glitch_this-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 108d2880c953325c2c9a6025bec0822985a48a2bb4e50f1aedcb3909ee3da1e2 |
|
MD5 | abe31c4307ed28c97c97c4465604bbb8 |
|
BLAKE2b-256 | aa32c36cd47776e26e14249397370e204e50ad4e75484cb5c180127c5e68a10b |