feat: color frames, derive grayscale frames at render time

This commit is contained in:
2026-07-13 22:54:23 +07:00
parent f5041f60d4
commit 812380fe05
8 changed files with 284 additions and 110 deletions
+2
View File
@@ -32,6 +32,7 @@ type Config struct {
BrightnessThreshold int
Charset string
Invert bool
ForceGrayscale bool
LogCredentials bool
}
@@ -129,6 +130,7 @@ func loadConfig() Config {
BrightnessThreshold: envInt("BRIGHTNESS_THRESHOLD", 40, 0, 100),
Charset: envString("CHARSET", "detailed"),
Invert: envBool("INVERT", false),
ForceGrayscale: envBool("FORCE_GRAYSCALE", false),
LogCredentials: envBool("LOG_CREDENTIALS", false),
}
}