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

Method pixelWidth

src/rafimage.cpp:30–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30uint32_t RafImage::pixelWidth() const {
31 if (pixelWidth_ != 0)
32 return pixelWidth_;
33
34 auto widthIter = exifData_.findKey(Exiv2::ExifKey("Exif.Fujifilm.RawImageFullWidth"));
35 if (widthIter == exifData_.end() || widthIter->count() == 0)
36 return 0;
37 return widthIter->toUint32();
38}
39
40uint32_t RafImage::pixelHeight() const {
41 if (pixelHeight_ != 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