Pillow icon indicating copy to clipboard operation
Pillow copied to clipboard

Simplified code

Open radarhere opened this issue 1 month ago • 0 comments

When splitting an image into multiple bands, https://github.com/python-pillow/Pillow/blob/b33a31524a1d0304ef3322ef2c0c0fa3b39a5296/src/_imaging.c#L2473-L2484 rather than counting failures and continuing, it would simpler to break immediately on failure.

radarhere avatar Nov 06 '25 07:11 radarhere