MCPcopy Create free account
hub / github.com/darktable-org/rawspeed / isAppropriateDecoder

Method isAppropriateDecoder

src/librawspeed/decoders/DcrDecoder.cpp:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39class CameraMetaData;
40
41bool DcrDecoder::isAppropriateDecoder(const TiffRootIFD* rootIFD,
42 const Buffer* file) {
43 const auto id = rootIFD->getID();
44 const std::string& make = id.make;
45
46 // FIXME: magic
47
48 return make == "Kodak";
49}
50
51void DcrDecoder::checkImageDimensions() {
52 if (width > 4516 || height > 3012)

Callers

nothing calls this directly

Calls 1

getIDMethod · 0.80

Tested by

no test coverage detected