Skip to content

Latest commit

 

History

History
39 lines (33 loc) · 1.06 KB

README.md

File metadata and controls

39 lines (33 loc) · 1.06 KB

fuzzy_filter

This software applies a static fuzzy filter to an image! This was inspired by this post https://twitter.com/yupd0wn/status/1791490451574579431 This is my attempt to recreate this effect using Python's PIL library

Image Filter Modes

Using this image as an example

There are two modes of filters that can be applied to this image.

Mode 1 - FUZZY FOREGROUND

Mode 2 - FUZZY BACKGROUND

Configure Software

-- config.json
{
"FILE_NAME": "hello_world.png", -- path to the image
"GIF_FRAMES": 60,               -- how many frames long the gif is
"FRAME_DURATION": 1,            -- how many milliseconds each frame of the gif is
"MODE": 1                       -- what mode of filter the gif should use
-- MODE 1 (FUZZY FOREGROUND)
-- MODE 2 (FUZZY BACKGROUND)
}

Install Requirements

$ pip install -r /path/to/requirements.txt
# skip if using fuzzy_filter.exe

Usage

$ python -m fuzzy_filter.py
# or
$ fuzzy_filter.exe