MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / QtImageReader

Method QtImageReader

src/QtImageReader.cpp:30–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28using namespace openshot;
29
30QtImageReader::QtImageReader(std::string path, bool inspect_reader) : path{QString::fromStdString(path)}, is_open(false)
31{
32 // Open and Close the reader, to populate its attributes (such as height, width, etc...)
33 if (inspect_reader) {
34 Open();
35 Close();
36 }
37}
38
39QtImageReader::~QtImageReader()
40{

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected