mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-14 17:24:46 +03:00
make "rgb" uppercase
This commit is contained in:
parent
60d4376cff
commit
e5039f8c15
|
@ -1706,7 +1706,7 @@ ImagingConvertTransparent(Imaging imIn, const char *mode, int r, int g, int b) {
|
|||
return (Imaging)ImagingError_ModeError();
|
||||
}
|
||||
|
||||
int rgbIn = strcmp(imIn->mode, "rgb") == 0;
|
||||
int rgbIn = strcmp(imIn->mode, "RGB") == 0;
|
||||
int bitIn = strcmp(imIn->mode, "1") == 0;
|
||||
int iIn = strcmp(imIn->mode, "I") == 0;
|
||||
int lIn = strcmp(imIn->mode, "L") == 0;
|
||||
|
|
Loading…
Reference in New Issue
Block a user