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

Method pixelHeight

src/cr2image.cpp:37–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35}
36
37uint32_t Cr2Image::pixelHeight() const {
38 auto imageHeight = exifData_.findKey(Exiv2::ExifKey("Exif.Photo.PixelYDimension"));
39 if (imageHeight != exifData_.end() && imageHeight->count() > 0) {
40 return imageHeight->toUint32();
41 }
42 return 0;
43}
44
45void Cr2Image::printStructure(std::ostream& out, Exiv2::PrintStructureOption option, size_t depth) {
46 if (io_->open() != 0)

Callers

nothing calls this directly

Calls 5

ExifKeyClass · 0.85
findKeyMethod · 0.45
endMethod · 0.45
countMethod · 0.45
toUint32Method · 0.45

Tested by

no test coverage detected