fix invalid profile detection
oops typo
This commit is contained in:
parent
6ffdc6a7b7
commit
0ab44b1aff
@ -503,7 +503,7 @@ vips_image_expected_bands( VipsImage *image )
|
||||
{
|
||||
int expected_bands;
|
||||
|
||||
switch( image->Bands ) {
|
||||
switch( image->Type ) {
|
||||
case VIPS_INTERPRETATION_B_W:
|
||||
case VIPS_INTERPRETATION_GREY16:
|
||||
expected_bands = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user