Files
HakoniwaandClaude Opus 5.5 90e1371b76 Fix palette preview labels stacking on patch 0; honor font_size on macOS/Linux
- textbbox was measured at the patch position and that position was then
  subtracted again, so every number was drawn inside patch 0. Measure at the
  origin and subtract only the glyph offset.
- Fall back to DejaVu Sans / Helvetica, then Pillow's scalable default font,
  so font_size works where Arial is not installed.
- Add regression tests for label placement and font size.
- Add the Linux/Windows CPU test workflow that the README already describes.
- Add .gitignore for __pycache__, bump version to 1.2.1, update README and
  VALIDATION.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K5PqyHqy9udCb9y3WWmeTx
2026-09-26 00:30:02 +00:00

16 lines
697 B
TOML

[project]
name = "colorshiftcolor"
description = "This is a custom node for ComfyUI.\nIt reduces colors based on a specified number and allows for adjustments to hue, saturation, and brightness.\nFeatures:Each parameter can be set to random, You can toggle masking (not changing colors) using color numbers, Mask inversion can also be toggled on or off."
version = "1.2.1"
license = {file = "LICENSE"}
dependencies = ["torch", "numpy", "scikit-learn", "Pillow"]
[project.urls]
Repository = "https://github.com/852wa/ComfyUI-ColorshiftColor"
# Used by Comfy Registry https://comfyregistry.org
[tool.comfy]
PublisherId = "hakoniwa"
DisplayName = "ComfyUI-ColorshiftColor"
Icon = ""