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

Method pixelHeight

src/rafimage.cpp:40–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38}
39
40uint32_t RafImage::pixelHeight() const {
41 if (pixelHeight_ != 0)
42 return pixelHeight_;
43
44 auto heightIter = exifData_.findKey(Exiv2::ExifKey("Exif.Fujifilm.RawImageFullHeight"));
45 if (heightIter == exifData_.end() || heightIter->count() == 0)
46 return 0;
47 return heightIter->toUint32();
48}
49
50void RafImage::setExifData(const ExifData& /*exifData*/) {
51 // Todo: implement me!

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