|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| MAYAFLUX_API std::shared_ptr< Buffers::TextureBuffer > MayaFlux::choose_image | ( | int | desired_channels = 4, |
| std::optional< Kakshya::Region > | region = std::nullopt |
||
| ) |
Present a native open-file dialog filtered to image formats and load the chosen file via IOManager::load_image().
Blocks until the user confirms or cancels. Returns nullptr on cancellation, backend error, or if Portal::System is not initialized.
| desired_channels | Channel count passed to ImageReader (0 keeps the source layout). |
| region | Optional source-pixel rectangle with inclusive end coordinates. |
Definition at line 228 of file Depot.cpp.
References get_io_manager().
Referenced by MayaFlux::Creator::read_image().
Here is the call graph for this function:
Here is the caller graph for this function: