A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://libvips.github.io/libvips/API/current/ctor.Image.new_from_image.html below:

Vips.Image.new_from_image

Constructor VipsImagenew_from_image Declaration [src]
VipsImage*
vips_image_new_from_image (
  VipsImage* image,
  const double* c,
  int n
)
Description [src]

Creates a new image with width, height, format, interpretation, resolution and offset taken from image, but with number of bands taken from n and the value of each band element set from c.

Parameters
image

Type: VipsImage

Image to copy.

The data is owned by the caller of the function.
c

Type: An array of double

Array of constants.

The length of the array is specified in the n argument. The data is owned by the caller of the function.
n

Type: int

Number of constants.

Return value The caller of the function takes ownership of the data, and is responsible for freeing it.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4