Skip to content

Python pillow program that adds a static fuzzy filter to an image and returns a gif

Notifications You must be signed in to change notification settings

miabobia/fuzzy_filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python pillow program that adds a static fuzzy filter to an image and returns a gif

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages