Constructor
VipsImagegrey
Declaration [src]
int
vips_grey (
VipsImage** out,
int width,
int height,
...
)
Description [src]
Create a one-band float image with the left-most column zero and the right-most 1.
Intermediate pixels are a linear ramp.
Set uchar to output a uchar image with the leftmost pixel 0 and the
rightmost 255.
::: tip “Optional arguments”
* uchar: gboolean, output a uchar image
::: seealso
vips_xyz(), vips_identity().
Parameters
out |
VipsImage |
Output image. |
|
| The argument will be set by the function. | |
| The called function takes ownership of the data, and is responsible for freeing it. | |
width |
int |
Image size. |
|
height |
int |
Image size. |
|
... |
none |
|