|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::shared_ptr< Buffers::TextureBuffer > MayaFlux::load_image_file | ( | const std::string & | filepath | ) |
Loads an image file into a TextureBuffer.
| filepath | Path to the image file to load |
Supports common image formats such as PNG, JPEG, BMP, TGA, PSD, GIF, HDR, PIC, and PNM. Returns nullptr on failure with error details logged to stderr.
Definition at line 117 of file Depot.cpp.
References MayaFlux::Journal::API, MayaFlux::IO::ImageReader::create_texture_buffer(), MayaFlux::Journal::FileIO, MF_ERROR, MF_INFO, and MayaFlux::IO::ImageReader::open().
Referenced by MayaFlux::Creator::load_buffer().
Here is the call graph for this function:
Here is the caller graph for this function: