oops, forgot one

This commit is contained in:
John Cupitt 2011-10-26 15:11:19 +01:00
parent 7e6f885ea1
commit 2bfe021088

View File

@ -1216,6 +1216,12 @@ im_extract_bands( IMAGE *in, IMAGE *out, int band, int nbands )
return( 0 ); return( 0 );
} }
int
im_extract_band( IMAGE *in, IMAGE *out, int band )
{
return( im_extract_bands( in, out, band, 1 ) );
}
int int
im_extract_areabands( IMAGE *in, IMAGE *out, im_extract_areabands( IMAGE *in, IMAGE *out,
int left, int top, int width, int height, int band, int nbands ) int left, int top, int width, int height, int band, int nbands )