respira/src/formats/import
Jan-Henrik Bruhn 69eb7c9986 feature: Add RGB color matching for Brother thread identification
Enhances the Brother color mapping to support exact RGB color matching in
addition to catalog number matching. This follows the logic from the
BrotherColor.FromColor method in the App codebase.

Changes:
- Added optional RGB matching to enhanceThreadWithBrotherColor function
- RGB matching is enabled by default but can be disabled via options
- Enhanced logging to show breakdown of matches (catalog vs RGB)
- Matching priority: catalog number first, then RGB (both exact match only)

Example: A thread with RGB(255,255,255) will now match Brother color "WHITE"
(code 001) even if the catalog number is missing or doesn't match.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2025-12-21 20:52:32 +01:00
..
client.ts feature: Add RGB color matching for Brother thread identification 2025-12-21 20:52:32 +01:00
constants.ts fix: run linter 2025-12-18 11:39:22 +01:00
pesImporter.ts fix: run linter 2025-12-18 11:39:22 +01:00
worker.ts fix: run linter 2025-12-18 11:39:22 +01:00