Method: VIPS::Header#bands
- Defined in:
- ext/header.c
#bands ⇒ Numeric
Get the number of bands in the image.
88 89 90 91 92 93 94 95 96 97 |
# File 'ext/header.c', line 88
static VALUE
header_bands(VALUE obj)
{
GetImg(obj, data, im);
if (im)
return INT2FIX(im->Bands);
return Qnil;
}
|