refactored code for extracting image dimensions from metadata

(cherry picked from commit 0ece9c5bfad09bc9052238d83fa696ef39effaaa)
This commit is contained in:
Alberto Griggio
2020-12-02 02:03:00 -08:00
committed by Lawrence Lee
parent 0102fca563
commit 92befa7e81
13 changed files with 146 additions and 21 deletions

View File

@@ -57,6 +57,8 @@ private:
IIOSampleFormat sampleFormat;
bool isPixelShift;
bool isHDR;
int w_;
int h_;
public:
explicit FramesData(const Glib::ustring& fname);
@@ -84,8 +86,11 @@ public:
std::string getOrientation() const override;
Glib::ustring getFileName() const override;
int getRating() const override;
void getDimensions(int &w, int &h) const override;
void fillBasicTags(Exiv2::ExifData &exif) const;
void setDimensions(int w, int h);
};
}