Skip to main content

A CLI tool that creates a kaleidescope-esque gradient image of your favorite movie.

Project description

Cinegraph Logo


A CLI tool that creates a kaleidescope-esque gradient image of your favorite movie.

· Installation ·

📝 Table of Contents

🧐 About

A CLI tool that creates a kaleidescope-esque gradient image of your favorite movie.

🖥️ Screenshots

Total Recall

Elysium

Pacific Rim

Star Trek Into Darkness

Edge of Tomorrow

Example Write Frames

💨 Quickstart

The current run script can be invoked using:

$ poetry run exec 

If you do not provide any positional arguments to specify input files it will automatically open a Tkinter file picker, you need to have a capable display window provider (if using WSL Xserver is a great option.)

Additionally you can run it with the following flags:

Flags

NAME
    poetry run exec
    cinegraph

SYNOPSIS
    poetry run exec <flags> [FILES]...
    cinegraph <flags> [FILES]...
POSITIONAL ARGUMENTS
    FILES
        The files that you want to be processed.

FLAGS
    -c,--colors=COLORS
        Number of colors in the Cinegraph
        Example Input:
            100
    -b,--blur=BLUR
        Blur amount for the Cinegraph
        Example Input:
            5
    -r,--resolution=RESOLUTION
        Resolution for the Cinegraph
        Example Input:
            1000,1200
    -n,--no_frame=NO_FRAME
        Remove the white border + frame for the Cinegraph
    -m,--margin=MARGIN
        Set the margin (in pixels) for the border around the Cinegraph
        e.g. 25
    -w,--write_frames=WRITE_FRAMES
        Output the frames with a center square that denotes the dominant color.

💾 Installation

Prerequsites

  1. Python and Python Poetry is installed

Install steps

  1. poetry install (To install in the top level directory always: poetry config virtualenvs.in-project true)

⛏️ Tech Stack

✍️ Authors

🎉 Acknowledgements

  • @FFMPEG for providing amazing open source video solutions.
  • The Colors of Motion for being the inspiriation and the idea that I tried my best to mimic.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cinegraph-0.1.1.tar.gz (19.0 kB view details)

Uploaded Source

Built Distribution

cinegraph-0.1.1-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file cinegraph-0.1.1.tar.gz.

File metadata

  • Download URL: cinegraph-0.1.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1039-azure

File hashes

Hashes for cinegraph-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2f2ba7c1d8c2e484c1c1347f8d65bbc14da3e38dd556260826491515264a2590
MD5 cbda0b1cea902d574906349374b1bf21
BLAKE2b-256 86c7c7a491e3f5fbb12f6d0fb8ed64db57afaec4ad2351ce1b143530e1fba3bf

See more details on using hashes here.

File details

Details for the file cinegraph-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: cinegraph-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.8.2 Linux/5.8.0-1039-azure

File hashes

Hashes for cinegraph-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ee76d799c5b0905ee00765647ca0bd61b0315297ff72402e8ebccdfc2bd5629d
MD5 ef892713ec1d95e87c43f42c99854353
BLAKE2b-256 db9d981715373a5496bdce3ebd877fb03c47d825e49d075279fca5cf8c16c4bf

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page