Giter Site home page Giter Site logo

petrberan / photo-wall-convert Goto Github PK

View Code? Open in Web Editor NEW

This project forked from hhorak/photo-wall-convert

0.0 0.0 0.0 32 KB

A simple tool to label and convert photographs for the big wall screen

License: GNU General Public License v3.0

Shell 100.00%

photo-wall-convert's Introduction

Photo Wall Convert Tool

A simple tool to label and convert photographs for the big wall screen.

The tool serves primarily for adding an annotation with author and event name to the photo, and it also sets Copyright exif data.

The output is stored into the ./converted/ directory.

Usage: photo-wall-convert --event <event_title> [--quiet] [--crop] [--author <author>] <photo> [ <photo> ...]

Arguments:
  --event <event_title> is a short string
  --author <author> (optional) name of the person who took the photo that also holds the copyright; if omitted, it is taken from exif data
  --crop Crop the image to the expected ratio
  --gravity <west|east> Whether the annotation should be on the left (west) or right (east), west is the default
  --open Open the output directory after conversion is done
  --quiet Do not write verbose output

How to get the tool to your terminal

curl https://raw.githubusercontent.com/hhorak/photo-wall-convert/master/photo-wall-convert >/tmp/photo-wall-convert ; chmod a+x /tmp/photo-wall-convert
/tmp/photo-wall-convert -h

Usage example

Suppose you are in the folder with photos D123.JPG and D124.JPG. Run the following command to convert the photos:

photo-wall-convert --event "DevConf.cz 2020" --author "Honza Horak" *.jpg *.JPG

This results in a new directory ./converted/ and the following two files annotated and converted to the expected size:

./converted/D123.JPG
./converted/D124.JPG

License

This project is licensed under GNU General Public License v3.0.

Credits

Thanks to Ondrej Ptak who sent me the original convert command.

photo-wall-convert's People

Contributors

hhorak avatar ari3s 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.