:camera: Glitchify images and GIF - with highly customizable options!
frame['duration']
in glitch_gif
(from glitch_this.py
) raises a key error Suggested by #32
glitch_image
and glitch_gif
in glitch_this.py
:-
seed
: Set a custom seed to be used by random
, for generating similar images across runscommandline.py
:-
-sd, --seed
: Set a custom seed to be used by random
, for generating similar images across runsglitch_gif
Improve version checking efficiency
The version is only checked once every few days and saved into a local file. This file is checked afterwards. Eliminates the need to send request to pypi
Add --version
argument to the commandline script
Add support for floats as Increment/Decrement (glitch_change
)
You can now use a value between +-0.0 and +-10.0 (inclusive)
Glitching intensity can now be in range 0.1 to 10.0 (inclusive)
commandline.py
Add support for float type numbers for glitch_amount
You can now supply floats as glitch_amount! This works best when using floats with maximum of 1-2 decimal places
Read the docs for more info!
Redesign help text for the commandline script
Add a more detailed description for the commandline script
Add more sanity checks in glitch_this.py
Improve Exception handling and Exception messages
__version__
in glitch_this.py
to 0.1.2
help_text
in commandline.py
Organize argparser help text
NEW parameters for glitch_image
and glitch_gif
in glitch_this.py
:-
glitch_change
: Increment/Decrement glitch_amount
by given amount after every glitching
cycle
: Whether or not to cycle glitch_amount
back to 1 or 10, if it overflows or underflows
step
: Glitch every step'th frame, instead of all of them
NEW parameters for commandline.py
:-
-i, --increment
: Increment/Decrement glitch_amount
by given amount after every glitching
-cy, --cycle
: Whether or not to cycle glitch_amount
back to 1 or 10, if it overflows or underflows
step
: Glitch every step'th frame, instead of all of them
relative_duration
: Use a duration relative to the source GIFs duration