Load an image from disk to an array. More...
Load an image from disk to an array.
Supported formats include JPG, PNG, PPM and other formats supported by freeimage
◆ af_load_image()C Interface for loading an image.
C Interface for loading an image as is original type.
This load image function allows you to load images as u8, u16 or f32 depending on the type of input image as shown by the table below.
Bits per Color (Gray/RGB/RGBA Bits Per Pixel) Array Type Range 8 ( 8/24/32 BPP) u8 0 - 255 16 (16/48/64 BPP) u16 0 - 65535 32 (32/96/128 BPP) f32 0 - 1false
) ◆ loadImage() AFAPI array loadImage ( const char * filename, const bool is_color = false
)
C++ Interface for loading an image.
C++ Interface for loading an image as its original type.
This load image function allows you to load images as u8, u16 or f32 depending on the type of input image as shown by the table below.
Bits per Color (Gray/RGB/RGBA Bits Per Pixel) Array Type Range 8 ( 8/24/32 BPP) u8 0 - 255 16 (16/48/64 BPP) u16 0 - 65535 32 (32/96/128 BPP) f32 0 - 1RetroSearch 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