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>
Use relative path for WEB_DIRECTORY.
Remove commented-out registration code from modules.
Replace bare except with specific exception types.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Swap incorrectly reversed eotf_sRGB/eotf_inverse_sRGB calls.
Fix operator precedence in conditional checks.
Move colorspace config to class-level constants.
Use BT.1886 transfer function for Rec.2020.
Clean up bare excepts and dead code.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Preserve full float range for EXR output instead of clipping to [0,1].
Let OIIO handle float16 conversion for half-float EXR.
Fix EXR bit_depth fallback from 16 to 32 (closes#10).
Use deterministic grayscale sampling.
Remove non-functional dynamic widget metadata.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace always-execute NaN returns with content-aware fingerprinting
based on tensor properties, node parameters, and sampled pixel values.
Remove unused workflow JSON.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>