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

Method ImageReader

src/ImageReader.cpp:25–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23using namespace openshot;
24
25ImageReader::ImageReader(const std::string& path, bool inspect_reader) : path(path), is_open(false)
26{
27 // Open and Close the reader, to populate its attributes (such as height, width, etc...)
28 if (inspect_reader) {
29 Open();
30 Close();
31 }
32}
33
34// Open image file
35void ImageReader::Open()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected