watermarker

command module
v0.0.0-...-83c7d1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

watermarker

Simple CLI tool to watermark and overlay 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 C:\Users\Valb9\Downloads\concert\ watermark2.png -o 0.8 -n C:\Users\Valb9\Downloads\concert_output\
watermarker bulk imageFolder/ example_watermark.png -o 0.8 -n examples/output/bulk/

Documentation

Overview

Copyright © 2020 Nicholaus Carter

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL