Commit Graph

1 Commits

Author SHA1 Message Date
abhay-codes07 5d70dbbdf7
Fix image_alpha_fix only padding a single channel
When the destination had more channels than the source, image_alpha_fix
padded the source by exactly one channel regardless of the actual
difference, so a channel gap greater than one (e.g. a grayscale source
against an RGBA destination) left the tensors mismatched and broke the
downstream blend/composite. Pad by the full channel difference and fill
the added channels with 1.0.
2026-07-12 14:48:26 +05:30