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

Function newWebPInstance

src/webpimage.cpp:691–697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

689/* =========================================== */
690
691Image::UniquePtr newWebPInstance(BasicIo::UniquePtr io, bool /*create*/) {
692 auto image = std::make_unique<WebPImage>(std::move(io));
693 if (!image->good()) {
694 return nullptr;
695 }
696 return image;
697}
698
699bool isWebPType(BasicIo& iIo, bool /*advance*/) {
700 if (iIo.size() < 12) {

Callers

nothing calls this directly

Calls 1

goodMethod · 0.45

Tested by

no test coverage detected