Skip to content

Releases: notbackstreet/watermarker

Spelling fixes

06 Jan 17:45
Compare
Choose a tag to compare
  • fixes spelling of "opacity"
  • use variable for default opacity instead of hardcoded float

Initial Release

28 Jun 00:22
7a869b0
Compare
Choose a tag to compare

watermarker

Simple CLI tool to watermark images. Built using Go.

Special Thanks

Watermarker was built using the following wonderful packages:

Cobra from @spf13

Imaging from @disintegration

Install

go get -u github.com/YoungMetroTrusted/watermarker

Useage

Get help

watermarker help
watermarker image -h
watermarker bulk -h

Watermark a single image

Note: This will overwrite the original image

watermarker image examples/example_image.jpg example_watermark.png

Watermark a single image with custom opacity

watermarker image examples/example_image.jpg example_watermark.png -o 0.35

Watermark a single image with custom opacity and write to a new file

watermarker image examples/example_image.jpg example_watermark.png -o 0.35 -n new_image.jpg

Watermark all images in a folder

Note: New images will be saved to a folder named "watermarked" in the current directory

watermarker bulk imageFolder/ example_watermark.png

Watermark all images in a folder with custom opacity

watermarker bulk imageFolder/ example_watermark.png -o 0.8

Watermark all images in a folder with custom opacity and custom output folder

watermarker bulk imageFolder/ example_watermark.png -o 0.8 -n examples/output/bulk/