1
0
mirror of https://gitlab.com/annimon/imagetagger.git synced 2024-09-20 05:44:20 +03:00
imagetagger/README.md

27 lines
722 B
Markdown
Raw Normal View History

2021-01-09 16:35:16 +02:00
# Image Tagger
This application allows adding tags to the images by pressing configured keys.
## Configuration
In the configuration file `imagetagger.json` you can declare a directory for images, set cache entries limit and resolution, add filters and configure keys and tags.
## Shortcuts
- `Left/Right` — previous/next image
- `Enter` — creates/updates .txt file with tags
## Actual applying tag to image
By using [ExifTool](https://exiftool.org/) and simple script you can write tags to image:
```bash
# Bash
for i in *.jpg; do exiftool -q -overwrite_original -@ "$i.txt" "$i"; done
```
```cmd
rem CMD
for /f "delims=" %%f in ('dir /b "*.jpg"') do exiftool -q -overwrite_original -@ "%~nxf.txt" "%f"
```