Python script that takes an image and turns it into a color changing GIF.
git clone https://github.com/ganttArt/color-shift-gif.git
cd color-shift-gif
python3 -m venv venv
. venv/bin/activate
pip install -r requirements.txt
deactivate
Built with Python 3.11
. venv/bin/activate
python main.py -f <image-filename>
-h
--help
: Show info for command line arguments-f <filename>
--file <filename>
: File name for image to apply effect to.- Include relative path if file is not in root directory.
-d <seconds>
--duration <seconds>
: Duration of gif in seconds. Default is 10 seconds.-dm <seconds>
--delaymotion <seconds>
: Delay motion in the gif by _ seconds (show first frame)-nl
--noloop
: Create a GIF that doesn't loop-t
--transparent
: Maintain transparency of input image in GIF.- Note: Semi-transparent pixels will convert to fully transparent pixels. GIF image format does not support semi-transparent pixels
-p
--posterize
: Create posterize effect in GIF (experimental effect, works poorly for some images)