MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ create_container()

std::shared_ptr< Kakshya::SignalSourceContainer > MayaFlux::IO::ImageReader::create_container ( )
overridevirtual

Create and initialize a container from the file.

Returns
Initialized container appropriate for the file type.

The specific container type returned depends on the file format:

  • Audio files -> SoundFileContainer
  • Video files -> VideoContainer (future)
  • Image files -> ImageContainer (future)
  • Data files -> DataContainer variants

Implements MayaFlux::IO::FileReader.

Definition at line 394 of file ImageReader.cpp.

395{
396 m_last_error = "Images use direct GPU texture creation, not containers";
397 return nullptr;
398}

References m_last_error.