An open API service indexing awesome lists of open source software.

https://github.com/situ2001/picmark

Add watermarks to your images in just a few lines of command or code.
https://github.com/situ2001/picmark

cli image image-processing watermark

Last synced: 19 days ago
JSON representation

Add watermarks to your images in just a few lines of command or code.

Awesome Lists containing this project

README

          

# picmark

[![GitHub Repo](https://img.shields.io/badge/GitHub-repo-080f12?style=flat&logo=github&logoColor=white)](https://github.com/situ2001/picmark)
[![npm version](https://img.shields.io/npm/v/picmark?style=flat&colorA=080f12&colorB=1fa669)](https://www.npmjs.com/package/picmark)
[![npm download](https://img.shields.io/npm/dt/picmark?style=flat&colorA=080f12&colorB=1fa669)](https://www.npmjs.com/package/picmark)
![npm license](https://img.shields.io/npm/l/picmark?style=flat&colorA=080f12&colorB=1fa669)

Add watermarks to your images in just a few lines of command or code.

## Installation

```bash
npm install -g picmark
# or directly use npx
npx picmark
```

## Usage

```bash
picmark --help
```

## Example

Add watermark to an image, on bottom-right corner, with 10% width of the main image, 2.5% margin of the corner of main image and blur the background region where the watermark will be placed.

```bash
picmark watermark ./input.jpg ./watermark.png -o ./output.jpg -p bottom-right -s 10 -m 2.5 -b 20
```

## Todos

- [ ] Support glob patterns for batch processing
- [ ] Support watermark EXIF data on images
- [ ] Support more image formats
- [ ] Expose API for programmatic usage