Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaoyangnz/phew
Photo Exif Watermark
https://github.com/chaoyangnz/phew
border bun exif lightroom photography post-processing sharp watermark
Last synced: 2 months ago
JSON representation
Photo Exif Watermark
- Host: GitHub
- URL: https://github.com/chaoyangnz/phew
- Owner: chaoyangnz
- Created: 2024-09-04T13:24:26.000Z (4 months ago)
- Default Branch: master
- Last Pushed: 2024-09-12T00:56:31.000Z (4 months ago)
- Last Synced: 2024-10-01T03:41:33.209Z (3 months ago)
- Topics: border, bun, exif, lightroom, photography, post-processing, sharp, watermark
- Language: TypeScript
- Homepage:
- Size: 211 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
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.
![lightroom.png](lightroom.png)
## Examples
| layout / gallery |
|:-------------------------------------------------------:|
| card / full |
| ![](examples/landscape-phew-card-full.jpg) |
| card / classic |
| ![](examples/landscape-phew-card-classic.jpg) |
| card / logo |
| ![](examples/landscape-phew-card-logo.jpg) |
| card / clean |
| ![](examples/landscape-phew-card-clean.jpg) |
| card / clean / blur |
| ![](examples/landscape-phew-card-clean-blur.jpg) |
| card / param |
| ![](examples/landscape-phew-card-param.jpg) |
| card / logo |
| ![](examples/square-phew-card-logo.jpg) |
| card / logo / blur |
| ![](examples/square-phew-card-logo-blur.jpg) |
| card / logo / overlay |
| ![](examples/landscape-phew-card-logo-overlay.jpg) |
| card / param |
| ![](examples/landscape-phew-card-param.jpg) |
| card / logo |
| ![](examples/square-phew-card-logo.jpg) |
| card / logo / blur |
| ![](examples/square-phew-card-logo-blur.jpg) |
| card / logo / overlay |
| ![](examples/landscape-phew-card-logo-overlay.jpg) |
| |
| |
| expo / around |
| ![](examples/portrait-phew-expo-around.jpg) |
| expo / around / blur |
| ![](examples/portrait-phew-expo-around-blur.jpg) |
| expo / left |
| ![](examples/portrait-phew-expo-left.jpg) |
| expo / right |
| ![](examples/portrait-phew-expo-right.jpg) |