Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 759 Bytes

readme.MD

File metadata and controls

34 lines (24 loc) · 759 Bytes

Simple Bulk Watermarking tool

Batch watermarking tool based on Imagemagick library with multithreading support.


Building

Make sure that you've imagemagick and gcc installed.

# installing Imagemagick on Ubuntu
sudo apt-get install imagemagick graphicsmagick-libmagick-dev-compat

# build
cmake .

cd build

make

# the executable will be found in bin directory

Usage

# watermarking a list of images from  a file
# last line of the file should be an empty line
# that marks the end of the input
./watermark <left-logo> <right-logo> < list.txt

# or use find to generate the list for you
# assuming the directory foo contains the images to be watermaked in jpg format
find /path/to/foo -type f -name "*.jpg" | ./watermark