https://github.com/navin-mohan/bulk-watermark
A multithreaded bulk image watermarking tool written in C++
https://github.com/navin-mohan/bulk-watermark
cpp imagemagick multithreading threadpool watermark-image
Last synced: 4 months ago
JSON representation
A multithreaded bulk image watermarking tool written in C++
- Host: GitHub
- URL: https://github.com/navin-mohan/bulk-watermark
- Owner: navin-mohan
- License: mit
- Created: 2019-02-21T14:04:05.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-21T14:08:27.000Z (almost 7 years ago)
- Last Synced: 2025-03-14T14:30:14.183Z (10 months ago)
- Topics: cpp, imagemagick, multithreading, threadpool, watermark-image
- Language: C++
- Size: 286 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.MD
- License: license.MD
Awesome Lists containing this project
README
# Simple Bulk Watermarking tool
Batch watermarking tool based on Imagemagick library with multithreading support.
---
## Building
Make sure that you've imagemagick and gcc installed.
```bash
# 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
```bash
# 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 < 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
```