9 Commits
Author SHA1 Message Date
CoCoandClaude Opus 4.6 62b62d2a96 chore: add ruff config and fix 573 linting issues
- Add ruff configuration to pyproject.toml (py310, 120 char lines)
- Fix trailing whitespace (W291/W293), modernize type annotations (UP006/UP045)
- Remove unused imports (F401), simplify dict iteration (SIM118)
- Use f-string conversion flags (RUF010), modernize exception aliases (UP024)
- Replace try/except pass with contextlib.suppress (SIM105)
- Prefix unused variables with underscore (F841/RUF059)
- Convert lambdas to def statements (E731)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 22:06:33 +00:00
CoCoandClaude Opus 4.6 d9f9fb58a3 fix: PIL I-mode int32 scaling and alpha normalization preservation
P3: normalize int32 PIL I-mode values by dtype max instead of raw passthrough
P4: clamp alpha to [0,1] instead of min-max stretching

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:55:24 +00:00
CoCoandClaude Opus 4.6 4c3dce1ae9 merge: fix P1 - add missing I;16B/I;16L PIL modes to bit depth detection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:49:53 +00:00
CoCoandClaude Opus 4.6 dbb89bce57 fix: add missing I;16B/I;16L PIL modes to bit depth detection
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 21:49:35 +00:00
CoCoandClaude Opus 4.6 e9283636f9 fix: preserve 16/32-bit precision in ImageLoader PIL path
PIL's convert("RGB") silently truncates to 8-bit, destroying precision
for high bit depth TIFFs and PNGs. Bypass it for I;16/I/F modes by
reading directly into numpy and normalizing per detected bit depth.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 01:16:15 +00:00
CoCoandClaude Opus 4.6 02359318d3 Fix image loader bit depth detection and normalization
Detect bit depth from original image mode before RGB conversion.
Fix double-normalization when normalize=True.
Preserve constant images instead of zeroing them.
Fix alpha mask tensor shape to match ComfyUI MASK type [B,H,W].

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 15:13:15 +00:00
Conor-Collins c93c3f12b8 Fully featured sequences load just like the single exr images now. Separated sequence loader into its own node due to js complexity. Adjusted all layers to use comfy caching logic method 2025-07-25 15:29:40 -07:00
Conor-Collins 53a13cb010 changed exr sequence to work with start and end frames, made node mappings more consistent across project 2025-07-25 09:36:28 -07:00
Conor-Collins 2c660ba936 initial upload 2025-04-21 05:10:10 -07:00