Skip to content

Why bands instead of channels? #5341

Answered by radarhere
iansebryk asked this question in Q&A
Discussion options

You must be logged in to vote

bands has been in use since PIL, before it was forked to Pillow, so I don't know the historical answer.

To change this would require updating Image.merge(), Image.getmodebandnames(), Image.getmodebands(), im.getbands() and ModeDescriptor. Pillow values backwards compatibility, and this would disrupt people who have accepted the current terminology. So unless this topic receives a lot of attention, there isn't a strong motivation to change.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by radarhere
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants