Skip to content

A multithreaded bulk image watermarking tool written in C++

License

Notifications You must be signed in to change notification settings

navin-mohan/bulk-watermark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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