Skip to content

Releases: TotallyNotChase/glitch-this

Add overload typing for `glitch_image` function

11 Mar 21:01
Compare
Choose a tag to compare

Add nicer error message for keyerror in glitch_gif

18 Nov 08:11
Compare
Choose a tag to compare
  • Add better error message when frame['duration'] in glitch_gif (from glitch_this.py) raises a key error Suggested by #32

New param + Full typing support

26 Jul 05:59
fcb023b
Compare
Choose a tag to compare
  • NEW glitch_image and glitch_gif in glitch_this.py:-
    • seed: Set a custom seed to be used by random, for generating similar images across runs
  • NEW parameters for commandline.py:-
    • -sd, --seed: Set a custom seed to be used by random, 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

10 Apr 16:16
Compare
Choose a tag to compare
  • 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

24 Mar 09:52
Compare
Choose a tag to compare
  • 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`

24 Mar 09:51
Compare
Choose a tag to compare
  • Fix help text formatting in commandline.py

Add support for floating point as glitch

24 Mar 09:49
Compare
Choose a tag to compare
  • 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

01 Mar 09:30
Compare
Choose a tag to compare
  • Change __version__ in glitch_this.py to 0.1.2

Patch - Add punctuation to help text

01 Mar 09:29
Compare
Choose a tag to compare
  • Add punctuation to help_text in commandline.py

Add new parameters

01 Mar 09:28
Compare
Choose a tag to compare
  • 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