MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / getType

Method getType

src/image.cpp:769–776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767}
768
769ImageType ImageFactory::getType([[maybe_unused]] const std::string& path) {
770#ifdef EXV_ENABLE_FILESYSTEM
771 FileIo fileIo(path);
772 return getType(fileIo);
773#else
774 return ImageType::none;
775#endif
776}
777
778ImageType ImageFactory::getType(const byte* data, size_t size) {
779 MemIo memIo(data, size);

Callers

nothing calls this directly

Calls 1

openMethod · 0.45

Tested by

no test coverage detected