Skip to content

onsemy/GIFCompose

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIF Composite

A project to insert and export a background image in a transparent GIF.

Input:

Output:

How to use

Usage: main.py [OPTIONS]

Options:
  --output-path TEXT  Output path  [required]
  --gif-path TEXT     GIF path  [required]
  --bg-path TEXT      Background image path  [required]
  --fit-origin        Resize background image from GIF
  --debug             Save to png each frame
  --help              Show this message and exit.

$ python3 main.py --output-path /path/to/output --gif-path /path/to/gif --bg-path /path/to/background

Environments

  • Python 3.9.8+
  • Pillow 9.0.1+
  • Click 8.0.4+

Requirements for execute

  • $ pip3 install -r requirements.txt

Case of using VirtualEnv

  • Install VirtualEnv
    • $ pip3 install virtualenv
    • $ virtualenv venv
    • $ source ./venv/bin/activate
  • Install dependencies (in VirtualEnv)
    • (venv)$ pip3 install -r requirements.txt

Issue tracking

About

투명 GIF와 특정 배경 합성

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages