Constructor
VipsImagenew_from_image1
Declaration [src]
VipsImage*
vips_image_new_from_image1 (
VipsImage* image,
double c
)
Description [src]
Creates a new image with width, height, format, interpretation, resolution
and offset taken from image
, but with one band and each pixel having the
value c
.
See also: vips_image_new_from_image()
Parameters
image |
VipsImage |
Image to copy. |
|
The data is owned by the caller of the function. | |
c |
double |
Constants. |
Return value
Returns: | VipsImage |
The new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |