Function
Vipsppmload
Declaration [src]
int
vips_ppmload (
const char* filename,
VipsImage** out,
...
)
Description [src]
Read a PPM/PBM/PGM/PFM file into a VIPS image.
It can read 1, 8, 16 and 32 bit images, colour or monochrome, stored in binary or in ASCII. One bit images become 8 bit VIPS images, with 0 and 255 for 0 and 1.
See also: vips_image_new_from_file().
This function is not directly available to language bindings |
Parameters
filename |
const char* |
File to load. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
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. | |
... |
|
|