Rename project from ICRS to ICRA

This commit is contained in:
lm 2025-10-17 14:25:54 +02:00
parent c7ac43dc37
commit a49a2d18cf
6 changed files with 17 additions and 17 deletions

View File

@ -1,6 +1,6 @@
<img src="app/assets/logo.png" alt="ICRS Logo" width="120"/>
<img src="app/assets/logo.png" alt="ICRA Logo" width="120"/>
**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`.

View File

@ -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"]

View File

@ -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"]

View File

@ -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"),

View File

@ -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

View File

@ -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