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