Files
Conor-Collins-ComfyUI-CoCoT…/modules
CoCoandClaude Opus 4.6 43084fbea2 feat: add interactive click-to-matte preview with zebra stripe overlay
Adds a clickable Canvas2D preview widget to CryptomatteLayer that displays
the connected beauty pass, maps mouse clicks to pixel coordinates for matte
generation, and overlays a diagonal zebra stripe pattern on selected pixels.

- Add preview_image optional IMAGE input and OUTPUT_NODE for UI data
- Create js/cryptomatte.js with click handler, crosshair, and hover coords
- Fix image output to always produce valid [1,H,W,3] IMAGE tensors
- Search all cryptomatte ranks and ID channels for hash matching
- Extract layer name resolution into _resolve_layer_name method

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-05 05:17:09 +00:00
..