Constructor

VipsImageopenexrload

Declaration [src]

int
vips_openexrload (
  const char* filename,
  VipsImage** out,
  ...
)

Description [src]

Read a OpenEXR file into a VIPS image.

The reader can handle scanline and tiled OpenEXR images. It can’t handle OpenEXR colour management, image attributes, many pixel formats, anything other than RGBA.

This reader uses the rather limited OpenEXR C API. It should really be redone in C++.

::: seealso vips_image_new_from_file().

Parameters

filename const char*
 

File to load.

 The data is owned by the caller of the function.
 The string is a NUL terminated UTF-8 string.
out VipsImage
 

Decompressed image.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.