Giter Club home page Giter Club logo

eclipsifier's Introduction

Eclipsifier

This is a Python+Qt+Pillow program for aligning, adjusting, and arranging eclipse pictures into a nice little collage.

Usage

# Clone the repo
git clone https://github.com/merlinz01/eclipsifier
# Enter the directory created
cd eclipsifier
# Create a virtual env
python3 -m venv .venv
# Activate the venv
source .venv/bin/activate
# Install the requirements
pip3 install -r requirements.txt
# Configure where your JPEG images are stored
echo "base_dir: /home/user/Pictures/eclipse_pictures" > ./config.yml
# Run the program
python3 eclipse.py

The program will load all the pictures in the base dir, which may take a while.

In the left-hand part of the window is the list of images. Select any image to configure it. The image will show in the center of the window with alignment guides for position and rotation, and a color patch for brightness and contrast.

To align the sun in the center, you can drag on the image, or you can enter coordinates in the Center X and Center Y inputs.

To rotate the image so the moon's shadow is consistently aligned, adjust the Rotation input.

To adjust the size of the sun, adjust the Zoom input.

To adjust the brightness and contrast of the image, adjust the Brightness and Contrast inputs.

Select or deselect the Include in collage checkbox to set whether the image is included in the final collage.

The Render best quality checkbox removes the alignment and color guides and shows the configured image optimized for quality.

When you are done making any changes to an image, be sure to hit the Save button to save your configuration details to a YAML file alongside the picture.

In the right-hand side of the window is a timeline of the images, with a preview of each included image positioned according to the time it was taken. You can use this to help you select a nicely spaced sequence of images.

On the far right, you can configure the collage output. The Width and Height inputs control the size of the collage. The Individual Image Size input controls the (square) size of the individual images in the collage. The Central Image Index input determines which image is featured full-width.

The images in the collage are arranged in a wrapped row from left to right.

Click Generate Collage to assemble the collage. Click Save Collage to save it as collage.png in the working directory.

License

MIT License

eclipsifier's People

Contributors

merlinz01 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.