0.1.4 • Published 4 years ago

dwmark v0.1.4

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

CLI wrap of https://github.com/zy445566/node-digital-watermarking

Installation

npm install -g dwmark

or

yarn global add dwmark

Usage

Embedding text into image(s)

dwmark encode <text> <origin> <encoded> [size]

text     text to be hidden
origin   path to origin image file(s), glob supported (*.jpg)
encoded  saving location of the encoded image(s), can be a directory

Convert encoded image(s) for text viewing

dwmark decode <encoded> <decoded>

encoded  path to encoded image(s), glob supported (*.jpg)
decoded  saving location of the decoded image, can be a directory