diff --git a/README.md b/README.md index b022cea..fada438 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ -ICRS Logo +ICRA Logo -**ICRS** (Interactive Color Range Analyzer) is a Tkinter-based desktop tool for highlighting customised colour ranges in images. Load a single photo or an entire folder, fine-tune hue/saturation/value sliders, and export overlays complete with quick statistics. +**ICRA** (Interactive Color Range Analyzer) is a Tkinter-based desktop tool for highlighting customised colour ranges in images. Load a single photo or an entire folder, fine-tune hue/saturation/value sliders, and export overlays complete with quick statistics. ## Features - Two synced previews (original + overlay) @@ -17,12 +17,12 @@ ## Setup with uv (Windows PowerShell) ```powershell -git clone https://git.lukasmahler.de/lm/ICRS.git -cd ICRS +git clone https://git.lukasmahler.de/lm/ICRA.git +cd ICRA uv venv .\.venv\Scripts\Activate uv pip install . -uv run icrs +uv run icra ``` The launcher copies Tcl/Tk resources into the virtualenv on first run, so no manual environment tweaks are needed. On macOS/Linux replace the activate step with `source .venv/bin/activate`. diff --git a/app/__init__.py b/app/__init__.py index dd361ae..c6cbc33 100644 --- a/app/__init__.py +++ b/app/__init__.py @@ -1,5 +1,5 @@ """Application package.""" -from .app import ICRSApp, start_app +from .app import ICRAApp, start_app -__all__ = ["ICRSApp", "start_app"] +__all__ = ["ICRAApp", "start_app"] diff --git a/app/app.py b/app/app.py index 769904b..33fa237 100644 --- a/app/app.py +++ b/app/app.py @@ -8,7 +8,7 @@ from .gui import ColorPickerMixin, ExclusionMixin, ThemeMixin, UIBuilderMixin from .logic import DEFAULTS, ImageProcessingMixin, ResetMixin -class ICRSApp( +class ICRAApp( ThemeMixin, UIBuilderMixin, ImageProcessingMixin, @@ -20,7 +20,7 @@ class ICRSApp( def __init__(self, root: tk.Tk): self.root = root - self.root.title("ICRS — Interactive Color Range Analyzer") + self.root.title("ICRA — Interactive Color Range Analyzer") self._setup_window() # Theme and styling @@ -71,8 +71,8 @@ class ICRSApp( def start_app() -> None: """Entry point used by the CLI script.""" root = tk.Tk() - app = ICRSApp(root) + app = ICRAApp(root) root.mainloop() -__all__ = ["ICRSApp", "start_app"] +__all__ = ["ICRAApp", "start_app"] diff --git a/app/gui/ui.py b/app/gui/ui.py index d0c4cef..971e8fa 100644 --- a/app/gui/ui.py +++ b/app/gui/ui.py @@ -374,7 +374,7 @@ class UIBuilderMixin: title_label = tk.Label( title_bar, - text="ICRS — Interactive Color Range Analyzer", + text="ICRA — Interactive Color Range Analyzer", bg=bar_bg, fg="#f5f5f5", font=("Segoe UI", 11, "bold"), diff --git a/app/launcher.py b/app/launcher.py index 80c61d4..290f4f5 100644 --- a/app/launcher.py +++ b/app/launcher.py @@ -1,4 +1,4 @@ -"""Launcher ensuring Tcl/Tk resources are available before starting ICRS.""" +"""Launcher ensuring Tcl/Tk resources are available before starting ICRA.""" from __future__ import annotations diff --git a/pyproject.toml b/pyproject.toml index 5bdbe2b..fce6944 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,9 +1,9 @@ [project] -name = "icrs" +name = "icra" version = "0.1.0" -description = "Interactive Color Range Analyzer (ICRS) for Tkinter" +description = "Interactive Color Range Analyzer (ICRA) for Tkinter" readme = "README.md" -authors = [{ name = "ICRS contributors" }] +authors = [{ name = "ICRA contributors" }] license = "MIT" requires-python = ">=3.10" dependencies = [ @@ -11,7 +11,7 @@ dependencies = [ ] [project.scripts] -icrs = "app.launcher:main" +icra = "app.launcher:main" [tool.uv] package = true