Load an image from disk to an array. More...
Functions | |
AFAPI array | loadimage (const char *filename, const bool is_color=false) |
C++ Interface for loading an image. More... | |
AFAPI array | loadImage (const char *filename, const bool is_color=false) |
C++ Interface for loading an image. More... | |
AFAPI af_err | af_load_image (af_array *out, const char *filename, const bool isColor) |
C Interface for loading an image. More... | |
Load an image from disk to an array.
Supported formats include JPG, PNG, PPM and other formats supported by freeimage
C Interface for loading an image.
[out] | out | will contain the image |
[in] | filename | is name of file to be loaded |
[in] | isColor | boolean denoting if the image should be loaded as 1 channel or 3 channel |
AFAPI array af::loadImage | ( | const char * | filename, |
const bool | is_color = false |
||
) |
C++ Interface for loading an image.
[in] | filename | is name of file to be loaded |
[in] | is_color | boolean denoting if the image should be loaded as 1 channel or 3 channel |
AFAPI array af::loadimage | ( | const char * | filename, |
const bool | is_color = false |
||
) |
C++ Interface for loading an image.
[in] | filename | is name of file to be loaded |
[in] | is_color | boolean denoting if the image should be loaded as 1 channel or 3 channel |