41 lines
2.0 KiB
TOML
41 lines
2.0 KiB
TOML
# Optional global settings
|
|
# language must correspond to a file name in app/lang (e.g. "en", "de").
|
|
language = "en"
|
|
|
|
[options]
|
|
# Set to true to clear exclusion shapes whenever the image changes in the preview viewer.
|
|
reset_exclusions_on_image_change = false
|
|
|
|
# Hex color code for the match overlay (e.g. "#ff0000" for Red, "#00ff00" for Green)
|
|
# This is the color that paints over pixels that successfully match your HSV ranges.
|
|
overlay_color = "#ff0000"
|
|
|
|
# Hex color code for the background to be excluded (default #1f2937)
|
|
# This is useful for automatically removing flat background colors from UI screenshots
|
|
# or web scrapings before the analysis runs.
|
|
exclude_bg_color = "#1f2937"
|
|
|
|
# Tolerance for background color matching (0-255, default 5)
|
|
# A higher value will exclude pixels that are "close" to the hex color above, allowing
|
|
# you to bypass slight compression artifacts or noise in the image background.
|
|
exclude_bg_tolerance = 5
|
|
|
|
[defaults]
|
|
# Override any of the following to tweak the initial slider values upon application start.
|
|
hue_min = 250.0 # (0-360) Starting Hue for the target color range
|
|
hue_max = 310.0 # (0-360) Ending Hue for the target color range
|
|
sat_min = 15.0 # (0-100) Minimum Saturation percentage
|
|
sat_max = 100.0 # (0-100) Maximum Saturation percentage
|
|
val_min = 15.0 # (0-100) Minimum Value/Brightness percentage
|
|
val_max = 100.0 # (0-100) Maximum Value/Brightness percentage
|
|
alpha = 150 # (0-255) Opacity of the red overlay in the UI preview
|
|
|
|
[weights]
|
|
# Contribution of each measurement to the final Composite Score (0-100%).
|
|
match_all = 20 # % of the total visible image that matches
|
|
match_keep = 30 # % of the non-excluded area that matches (the most important area)
|
|
brightness = 10 # % Importance of Vibrance (or Darkness if "Prefer Darkness" is on)
|
|
grouping = 10 # % Importance of pixel clustering (rewarding solid color blocks)
|
|
continuity = 15 # % Quality of the largest connected surface area
|
|
border = 15 # % Quality of the transition edges (penalizing dark/hard outlines)
|