-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig-sample.ini
More file actions
28 lines (24 loc) · 1.3 KB
/
config-sample.ini
File metadata and controls
28 lines (24 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
; Set the directory where your PNG images are located
; Rename this file to config.ini and update the path below
file_directory = "/path/to/your/png/files"
; ImageMagick mogrify command for watermarking (optional - leave empty or comment out to skip)
; Example adds "Reess" watermark in white to lower right corner
# lib_mogrify = "mogrify -gravity SouthEast -pointsize 20 -fill white -annotate +10+10 \"Reess\""
; Library command with arguments (all in one)
; Examples:
; "pngquant --quality=60-80 --skip-if-larger --ext=.png --force"
; "optipng -o2 -strip all"
; "magick -quality 85 -strip"
lib_pngquant = "pngquant --quality=60-80 --skip-if-larger --ext=.png --force"
; Time/Date command to use for preserving file timestamps
; Options:
; "SetFile" - macOS only (requires Xcode Command Line Tools) - can set both creation and modification dates
; "touch" - Unix/Linux/macOS only (not native on Windows) - can only set modification date
; Note: Windows users would need Git Bash, WSL, or PowerShell alternatives
time_command = "SetFile"
; Instructions:
; 1. Rename this file to config.ini
; 2. Update the file_directory path above to point to your PNG files directory
; 3. Configure lib_mogrify for watermarking (or leave empty to skip)
; 4. Configure lib_pngquant with your preferred command and arguments
; 5. Save the file