/rainbowup

bulk apply rainbow filter to images

Primary LanguagePythonApache License 2.0Apache-2.0

rainbowup

This is a script created by Mt. Front to bulk apply rainbow filter to images.

On 7/7/2021, Chinese government banned all Wechat (largest Chinese social network) channels related to LGBT rights. This script is just a silent protest.

Find the source code at https://github.com/mfcndw/rainbowup

Warning: This script has only been tested on MacOS

Example

Original Rainbowed Smooth
test_profile test_profile_rainbowed test_profile

Usage:

python3 rainbowup.py path [-a] [-s] [-f] [-h]

required arguments:

  • path: The path of image or directory needs to be rainbowed up

optional arguments:

  • -h, --help: show this help message and exit
  • -a, --alpha: The opacity of the filter, default to 130. range from 0 (not visible) - 255
  • -s, --smooth: Switch to a smooth rainbow filter. Default to false
  • -f, --filter: Path to custom filter image