Giter VIP home page Giter VIP logo

shwatermark's Introduction

bash_unit CI Shellcheck CI GH Language GH stars GH tag GH License basher install

Under Development

shwatermark

Resize and watermark photos

๐Ÿ”ฅ Usage

Program: shwatermark 0.1.1 by [email protected]
Updated: Dec 17 22:30:33 2021
Description: Resize and watermark photos
Usage: shwatermark [-h] [-q] [-v] [-f] [-l <log_dir>] [-t <tmp_dir>] [-i <input>] [-e <output>] [-I <inexts>] [-E <outexts>] [-A <alpha>] [-C <color>] [-F <font>] [-M <mark>] [-O <position>] [-S <size>] [-X <fx>] [-E <email>] [-P <name>] [-S <shoot>] [-T <tags>] [-U <url>] [-p <pixel>] [-q <quality>] <action>
Flags, options and parameters:
    -h|--help        : [flag] show usage [default: off]
    -q|--quiet       : [flag] no output [default: off]
    -v|--verbose     : [flag] output more [default: off]
    -f|--force       : [flag] do not ask for confirmation (always yes) [default: off]
    -l|--log_dir <?> : [option] folder for log files   [default: /Users/pforret/log/shwatermark]
    -t|--tmp_dir <?> : [option] folder for temp files  [default: /tmp/shwatermark]
    -i|--input <?>   : [option] input folder  [default: .]
    -e|--output <?>  : [option] output folder  [default: ./export]
    -I|--inexts <?>  : [option] input extensions  [default: jpg,jpeg,JPG]
    -E|--outexts <?> : [option] output extensions  [default: jpg]
    -A|--alpha <?>   : [option] watermark alpha opacity  [default: 80]
    -C|--color <?>   : [option] watermark color  [default: FFF]
    -F|--font <?>    : [option] watermark font  [default: Helvetica]
    -M|--mark <?>    : [option] watermark text  [default: {name}]
    -O|--position <?>: [option] watermark position  [default: SouthWest]
    -S|--size <?>    : [option] watermark font size  [default: 20]
    -X|--fx <?>      : [option] watermark effect  [default: shadow]
    -E|--email <?>   : [option] email of photographer (EXIF)
    -P|--name <?>    : [option] name of photographer (EXIF)  [default: pforret]
    -S|--shoot <?>   : [option] shoot/event name (EXIF)
    -T|--tags <?>    : [option] shoot/event tags (EXIF)  [default: 2021]
    -U|--url <?>     : [option] photographer url (EXIF)
    -p|--pixel <?>   : [option] max pixel dimension  [default: 1600]
    -q|--quality <?> : [option] export quality %  [default: 95]
    <action>         : [parameter] action to perform: export/modify

### TIPS & EXAMPLES
* use shwatermark export to export photos
  shwatermark export
* use shwatermark modify to modify photos in place
  shwatermark modify
* use shwatermark check to check if this script is ready to execute and what values the options/flags are
  shwatermark check
* use shwatermark env to generate an example .env file
  shwatermark env > .env
* use shwatermark update to update to the latest version
  shwatermark check
* >>> bash script created with pforret/bashew
* >>> for bash development, also check out pforret/setver and pforret/progressbar

โšก๏ธ Examples

๐Ÿš€ Installation

with basher

$ basher install pforret/shwatermark

or with git

$ git clone https://github.com/pforret/shwatermark.git
$ cd shwatermark

๐Ÿ“ Acknowledgements

ยฉ 2021 Peter Forret

shwatermark's People

Contributors

pforret avatar

Watchers

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