Method
VipsImagemsb
Declaration [src]
int
vips_msb (
VipsImage* in,
VipsImage** out,
...
)
Description [src]
Optional arguments:
band
: %gint, msb just this band
Turn any integer image to 8-bit unsigned char by discarding all but the most significant byte. Signed values are converted to unsigned by adding 128.
Use band
to make a one-band 8-bit image.
This operator also works for LABQ coding.
See also: vips_scale(), vips_cast().
This method is not directly available to language bindings.
Parameters
out
-
Type:
VipsImage
Output image.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. ...
-
Type:
NULL
-terminated list of optional named arguments.