mirror of
https://gitlab.com/annimon/imagetagger.git
synced 2024-09-20 05:44:20 +03:00
27 lines
722 B
Markdown
27 lines
722 B
Markdown
|
# 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"
|
||
|
```
|