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

Method getPreviewImage

src/preview.cpp:1030–1038  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1028}
1029
1030PreviewImage PreviewManager::getPreviewImage(const PreviewProperties& properties) const {
1031 auto loader = Loader::create(properties.id_, image_);
1032 DataBuf buf;
1033 if (loader) {
1034 buf = loader->getData();
1035 }
1036
1037 return {properties, std::move(buf)};
1038}
1039} // namespace Exiv2

Callers 3

mainFunction · 0.80
readMetadataMethod · 0.80
writePreviewsMethod · 0.80

Calls 1

getDataMethod · 0.45

Tested by 1

mainFunction · 0.64