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