mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-10-22 03:34:21 +03:00
ImagingHistogramInstance can use two bands
This commit is contained in:
parent
c60b36d0a7
commit
2caa504991
|
@ -148,7 +148,7 @@ struct ImagingAccessInstance {
|
|||
struct ImagingHistogramInstance {
|
||||
/* Format */
|
||||
char mode[IMAGING_MODE_LENGTH]; /* Band names (of corresponding source image) */
|
||||
int bands; /* Number of bands (1, 3, or 4) */
|
||||
int bands; /* Number of bands (1, 2, 3, or 4) */
|
||||
|
||||
/* Data */
|
||||
long *histogram; /* Histogram (bands*256 longs) */
|
||||
|
|
Loading…
Reference in New Issue
Block a user