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

Function newPgfInstance

src/pgfimage.cpp:289–295  ·  view source on GitHub ↗

free functions

Source from the content-addressed store, hash-verified

287// *************************************************************************
288// free functions
289Image::UniquePtr newPgfInstance(BasicIo::UniquePtr io, bool create) {
290 auto image = std::make_unique<PgfImage>(std::move(io), create);
291 if (!image->good()) {
292 return nullptr;
293 }
294 return image;
295}
296
297bool isPgfType(BasicIo& iIo, bool advance) {
298 const int32_t len = 3;

Callers

nothing calls this directly

Calls 1

goodMethod · 0.45

Tested by

no test coverage detected