{"id":13595699,"url":"https://github.com/TotallyNotChase/glitch-this","last_synced_at":"2025-04-09T13:33:23.626Z","repository":{"id":39862521,"uuid":"240727107","full_name":"TotallyNotChase/glitch-this","owner":"TotallyNotChase","description":":camera: Glitchify images and GIF - with highly customizable options! ","archived":false,"fork":false,"pushed_at":"2024-06-06T12:27:50.000Z","size":38935,"stargazers_count":1760,"open_issues_count":5,"forks_count":63,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-10-29T15:40:38.893Z","etag":null,"topics":["commandline-tool","gifs","glitch-art","glitch-effect","glitched-gifs","glitched-images","glitchify-images","glitching","glitching-intensity","image-manipulation","python","scan-lines"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TotallyNotChase.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-02-15T14:29:35.000Z","updated_at":"2024-10-28T14:28:55.000Z","dependencies_parsed_at":"2024-05-29T14:41:17.272Z","dependency_job_id":"0d944d39-db64-4010-aeab-32804b8b4d57","html_url":"https://github.com/TotallyNotChase/glitch-this","commit_stats":{"total_commits":155,"total_committers":8,"mean_commits":19.375,"dds":0.0903225806451613,"last_synced_commit":"2b736c172416327dc4185490d122c6ddf4d9cead"},"previous_names":["totallynotchase/glitch-and-gif"],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotallyNotChase%2Fglitch-this","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotallyNotChase%2Fglitch-this/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotallyNotChase%2Fglitch-this/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TotallyNotChase%2Fglitch-this/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TotallyNotChase","download_url":"https://codeload.github.com/TotallyNotChase/glitch-this/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223394707,"owners_count":17138600,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["commandline-tool","gifs","glitch-art","glitch-effect","glitched-gifs","glitched-images","glitchify-images","glitching","glitching-intensity","image-manipulation","python","scan-lines"],"created_at":"2024-08-01T16:01:55.822Z","updated_at":"2024-11-06T18:31:34.869Z","avatar_url":"https://github.com/TotallyNotChase.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eglitch-this!\u003c/h1\u003e\n\u003cp align=\"center\"\u003e\u003ci\u003eCreate glitched images and GIFs, with highly customizable options!\u003c/i\u003e\u003c/p\u003e\n\u003chr\u003e\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://pypi.org/project/glitch-this\"\u003e\u003cimg alt=\"Pypi release\" src=\"https://img.shields.io/pypi/v/glitch-this?color=red\u0026label=pypi%20release\u0026logo=pypi\u0026logoColor=blue\" /\u003e\u003c/a\u003e\n  \u003cimg alt=\"Stars\" src=\"https://img.shields.io/github/stars/TotallyNotChase/glitch-this.svg?label=Stars\u0026style=flat\" /\u003e\n  \u003ca href=\"https://pepy.tech/project/glitch-this\"\u003e\u003cimg alt=\"Pypi downloads\" src=\"https://pepy.tech/badge/glitch-this\" /\u003e\u003c/a\u003e\n  \u003ca href=\"http://www.python.org/download/\"\u003e\u003cimg alt=\"Python 3\" src=\"https://img.shields.io/badge/Python-3-yellow.svg\"\u003e\u003c/a\u003e\n  \u003ca href=\"https://github.com/TotallyNotChase/glitch-this/blob/master/LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/github/license/TotallyNotChase/glitch-this.svg\" alt=\"License\"/\u003e\u003c/a\u003e\n\u003c/p\u003e\n\nA commandline tool + `python` library to glitchify images and **even make GIFs** out of them!\nFeaturing *100 gradually different levels of glitching intensity*! The algorithm used to create glitched images is a slightly modifed version of the popular [ImageGlitcher](https://www.airtightinteractive.com/demos/js/imageglitcher/) tool's algorithm, so you can expect the glitched images to look really cool!\n\n**NOW WITH GIF TO GLITCHED GIF SUPPORT! Check out the [docs](https://github.com/TotallyNotChase/glitch-this/wiki/Home)!**\n\nIf you like using this tool, please consider **starring on Github**!\n\n![demo](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched2.gif)\n\nWhat are you waiting for? Import the library and get glitching!\n\n**NOTE** : Works best with RGB/RGBA images\n\nCheckout a web demo right [here](https://github.com/pahefu/web-glitch-this), courtesy of @[pahefu](https://github.com/pahefu)\n\n## What others have to say ~\n* [#1 hot in r/python](https://www.reddit.com/r/Python/comments/f7taiy/my_python_imagegif_glitching_library_is_now_on/)\n* [#1 hot in r/programming](https://www.reddit.com/r/programming/comments/f7q2q3/i_made_a_commandline_script_to_make_glitched/)\n* [#1 hot in r/broken_gifs](https://www.reddit.com/r/brokengifs/comments/f7pyqw/i_made_a_commandline_script_to_make_glitched_gifs/)\n* [#1 hot in r/glitch_art](https://www.reddit.com/r/glitch_art/comments/f7q0hc/i_made_a_script_to_make_glitched_images_and_gifs/)\n* [#4 product of the day in producthunt](https://www.producthunt.com/posts/glitch-this)\n\n\u003ca href=\"https://www.producthunt.com/posts/glitch-this?utm_source=badge-featured\u0026utm_medium=badge\u0026utm_souce=badge-glitch-this\" target=\"_blank\"\u003e\u003cimg src=\"https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=186201\u0026theme=light\" alt=\"glitch-this - Create highly customizable glitched images and GIFs! | Product Hunt Embed\" style=\"width: 250px; height: 54px;\" width=\"250\" height=\"54\" /\u003e\u003c/a\u003e\n\n## FEATURES!\n* Choose any **glitching intensity** between 0.1 and 10.0, yes those are floats!\n\n  *Each level is gradually different*!\n\n  Want just a tiny bit of glitching, enough to make your image look cool? - use level 2 (my favorite)!\n* Add **scan lines** for a retro CRT effect! Add **color offset** for even cooler glitching!\n* Create **Glitched GIFs** from a normal image!\n\n  That's right, before this tool, I had to manually download each image from [ImageGlitcher](https://www.airtightinteractive.com/demos/js/imageglitcher/), save them, and then head to a GIF creation website.\n\n  Now you can do it *all* at once!\n* Glitch normal **GIFs** into **glitched GIFs**!\n* Customize **step** of glitching, you can glitch *every step'th frame* instead of all frames!\n* **Increment/Decrement glitching intensity** while glitching every frame!\n\n  So you can have a frame *glitched with intensity 2*, but the *next can be 5*, the *next to that can be 8* and so on!\n\n* Customize the **number of frames** in a GIF as well as their **duration** - all from the comfort of your terminal!\n* Set how many times the GIF should **loop**!\n* Set your own custom **seed** for a predictable RNG!\n\n## Changelog\nView the changelog [here](https://github.com/TotallyNotChase/glitch-this/blob/master/CHANGELOG.md)\n\n## Requirements\n* `python 3`\n* `pillow`\n* `numpy`\n\nThese will be automatically installed when you install the library! (assuming you have `python3`)\n## Installation\n\nSimply install `glitch-this` from [pypi](https://pypi.org/project/glitch-this/)!\n\n```\npip install glitch-this\n```\n\n(OR)\n\n```\npip3 install glitch-this\n```\n\n## Quick Start\n\nNow that you have the library installed, all you need to do is invoke the script and pass in the params\n\n`glitch_this [IMAGE PATH] [GLITCH_LEVEL]`\n\n![quick_basic](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/basic_command.gif)\n\nTry `glitch_this -h` for more info! Directly from your commandline!\n\nOr, Check out the [script docs](https://github.com/TotallyNotChase/glitch-this/wiki/Documentation:-The-commandline-script)!\n\nInterested in the library? Check out the [library docs](https://github.com/TotallyNotChase/glitch-this/wiki/Documentation:-The-glitch-this-library)!\n\n## DOCS! WHERE TO?!\n\nRead the [script docs](https://github.com/TotallyNotChase/glitch-this/wiki/Documentation:-The-commandline-script)!\n\nRead the [library docs](https://github.com/TotallyNotChase/glitch-this/wiki/Documentation:-The-glitch-this-library)!\n\nCheck out a [full example](https://github.com/TotallyNotChase/glitch-this/blob/master/test_script.py) using the library!\n\n## Whoa! Cool Glitches\nHere's some glitched images generated from this script - of different intensity levels!\n\n**NOTE**: All these images had `-c` parameter included, for color offset\n\n#### Original image for reference:-\n\n![og_img](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/source.png)\n\n#### Glitched version - Level 2:-\n\n![glitched_2](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched2.png)\n\n*Not badly glitched now is it?*\n\n#### Glitched version - Level 5:-\n\n![glitched_5](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched5.png)\n\n*Well it's certainly starting to get glitchy*\n\n#### Glitched version - Level 8:-\n\n![glitched_8](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched8.png)\n\n*I don't know what I'm looking at*\n\nLet's get some **scan lines** on there!\n\n#### Glitched version (scan_lines)- Level 2:-\n\n![glitched_2_scan](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched2scan.png)\n\n#### Glitched version (scan_lines) - Level 5:-\n\n![glitched_5_scan](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched5scan.png)\n\n#### Glitched version (scan_lines) - Level 8:-\n\n![glitched_8_scan](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched8scan.png)\n\nThat's neat, but how about some GIFs? Here's some GIFs from the same image:-\n\n*Note: All the GIFs use default values from `FRAMES` and `DURATION`, i.e 23 and 200 respectively*\n\n#### Glitched GIF - Level 2:-\n\n![glitched_gif2](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched2.gif)\n\n#### Glitched GIF - Level 5:-\n\n![glitched_gif5](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched5.gif)\n\n#### Glitched GIF - Level 8:-\n\n![glitched_gif8](https://raw.githubusercontent.com/TotallyNotChase/glitch-this/master/example/glitched8.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTotallyNotChase%2Fglitch-this","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FTotallyNotChase%2Fglitch-this","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FTotallyNotChase%2Fglitch-this/lists"}