https://github.com/chaoyangnz/phew
Photo Exif Watermark
https://github.com/chaoyangnz/phew
border bun exif lightroom photography post-processing sharp watermark
Last synced: 11 months ago
JSON representation
Photo Exif Watermark
- Host: GitHub
- URL: https://github.com/chaoyangnz/phew
- Owner: chaoyangnz
- Created: 2024-09-04T13:24:26.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-02-14T11:27:37.000Z (about 1 year ago)
- Last Synced: 2025-03-25T23:22:17.111Z (12 months ago)
- Topics: border, bun, exif, lightroom, photography, post-processing, sharp, watermark
- Language: TypeScript
- Homepage:
- Size: 211 MB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# phew 😮💨
aka. **PH**oto **E**xif **W**atermark
A tool to add Exif watermark to photos. The layout can be flexible to define and use different templates.
We use `JSX` to define the watermark templates, render it to `SVG` and composite over the original image.
- no quality loss
- no metadata (EXIF) loss
## Install
Download the released files:
- `phew.exe`
- `phew.bat`
- `libvips-42.dll`
- `libvips-cpp.dll`
Then you can run `phew.exe` as command.
> If you get errors: `Fail to load Library`, then you can put two `.dll` files to `C:\Windows`.
## Usage
- CLI
```
phew.exe card examples/landscape.jpg -o examples --variation classic
```
- Javascript module
```ts
import { render } from 'phew'
render({
layout: 'card',
variation: 'full',
height: 400,
}, file, 'dest')
```
- Lightroom
In `Export` dialog, the last section `Post-Pocessing`, select `Open in Other Application...`, choose the bat script `phew.bat` location.
You can edit `phew.bat` as you need to customise the parameters: layout, other tweaks etc.

## Examples
| layout / gallery |
|:-------------------------------------------------------:|
| card / full |
|  |
| card / classic |
|  |
| card / logo |
|  |
| card / clean |
|  |
| card / clean / blur |
|  |
| card / param |
|  |
| card / logo |
|  |
| card / logo / blur |
|  |
| card / logo / overlay |
|  |
| card / param |
|  |
| card / logo |
|  |
| card / logo / blur |
|  |
| card / logo / overlay |
|  |
| |
| |
| expo / around |
|  |
| expo / around / blur |
|  |
| expo / left |
|  |
| expo / right |
|  |