Releases: TotallyNotChase/glitch-this
Add overload typing for `glitch_image` function
Add nicer error message for keyerror in glitch_gif
- Add better error message when
frame['duration']
inglitch_gif
(fromglitch_this.py
) raises a key error Suggested by #32
New param + Full typing support
- NEW
glitch_image
andglitch_gif
inglitch_this.py
:-seed
: Set a custom seed to be used byrandom
, for generating similar images across runs
- NEW parameters for
commandline.py
:--sd, --seed
: Set a custom seed to be used byrandom
, for generating similar images across runs
- Cleanup the codebase using fstrings
- Add FULL typing support for providing a better experience to library users
- Fix undefined variable in
glitch_gif
Version checking
-
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
-
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)
Patch - Fix help text formatting in `commandline.py`
- Fix help text formatting in
commandline.py
Add support for floating point as glitch
-
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
Patch - Fix version naming
- Change
__version__
inglitch_this.py
to0.1.2
Patch - Add punctuation to help text
- Add punctuation to
help_text
incommandline.py
Add new parameters
-
Organize argparser help text
-
NEW parameters for
glitch_image
andglitch_gif
inglitch_this.py
:--
glitch_change
: Increment/Decrementglitch_amount
by given amount after every glitching -
cycle
: Whether or not to cycleglitch_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/Decrementglitch_amount
by given amount after every glitching -
-cy, --cycle
: Whether or not to cycleglitch_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
-