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

43 lines
1.1 KiB
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
- `F3` — change background color
## Filtration
To filter input images you can set a filter.
For example: `"filter": "+morning"` will show files containing `morning` tag, `"filter": "-morning"` — files not containing `morning` tag
2021-01-09 16:35:16 +02:00
## 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
2021-01-12 14:08:59 +02:00
for /f "delims=" %f in ('dir /b "*.jpg"') do exiftool -q -overwrite_original -@ "%~nxf.txt" "%f"
2021-01-09 16:35:16 +02:00
```
The program requires Java 11 to run.
## Changelog
**1.1**
- Added an ability to set modifiers Ctrl/Alt: `Ctrl+Alt+s`, `Ctrl+Alt+S`.
- `F3` for changing background color