|
MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
|
| bool MayaFlux::IO::IOManager::save_image | ( | IO::ImageData | data, |
| const std::string & | filepath, | ||
| const IO::ImageWriteOptions & | options = {} |
||
| ) |
Save an already-downloaded ImageData to disk asynchronously.
For callers that have an ImageData in hand (e.g. from IO::download_image) and want to avoid the GPU download step. Purely CPU-bound from here, so no thread restrictions on the caller.
Definition at line 734 of file IOManager.cpp.
References MayaFlux::IO::ImageWriterRegistry::create_writer(), MayaFlux::Journal::FileIO, MayaFlux::IO::ImageWriterRegistry::instance(), MayaFlux::Journal::IO, m_save_tasks, m_save_tasks_mutex, MF_ERROR, and MF_INFO.
Here is the call graph for this function: