| 23 | using namespace openshot; |
| 24 | |
| 25 | ImageReader::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 |
| 35 | void ImageReader::Open() |
nothing calls this directly
no outgoing calls
no test coverage detected