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 |
VipsImage |
Output image. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
... |
|
|