Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/PIL/ImageFilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ class Color3DLUT(MultibandFilter):
tuples with floats. Channels are changed first,
then first dimension, then second, then third.
Value 0.0 corresponds lowest value of output, 1.0 highest.
:param channels: Number of channels in the table. Could be 3 or 4.
:param channels: Number of channels in the table. Should be 3 or 4.
Default is 3.
:param target_mode: A mode for the result image. Should have not less
than ``channels`` channels. Default is ``None``,
Expand Down
2 changes: 1 addition & 1 deletion src/libImaging/ColorLUT.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ ImagingColorLUT3D_linear(
ImagingSectionCookie cookie;

if (table_channels < 3 || table_channels > 4) {
PyErr_SetString(PyExc_ValueError, "table_channels could be 3 or 4");
PyErr_SetString(PyExc_ValueError, "table_channels should be 3 or 4");
return NULL;
}

Expand Down
Loading