Remove unused CMS properties and fix documentation by Yay295 · Pull Request #7931 · python-pillow/Pillow

The ImageCmsTransform mode properties are set here:

Pillow/src/PIL/ImageCms.py

Lines 317 to 319 in 6b676f2

# Note: inputMode and outputMode are for pyCMS compatibility only
self.input_mode = self.inputMode = input_mode
self.output_mode = self.outputMode = output_mode

Some documentation further down in that file used the wrong property names.

These values are also passed to the C code where they are used and then stored, but the stored values are not documented or used anywhere, so I've removed them.