I found a few image modes that are listed as partially supported in the docs (here), but that are not listed in ImageMode:
from PIL import ImageMode
# note: I'm using the private variable here because it supports `in`
# and leads to nicer code
# afaik correct access is done via ImageMode.getmode(mode)
assert "BGR;15" in ImageMode._modes
assert "BGR;16" in ImageMode._modes
assert "BGR;24" in ImageMode._modes
assert "BGR;32" in ImageMode._modes
Is there any reason why these have not been added? If not, would a PR adding those be welcome?