Merge pull request #5325 from erjiang/embedded-ratings

Use ratings from image metadata
This commit is contained in:
Beep6581
2019-07-17 13:19:16 +02:00
committed by GitHub
8 changed files with 119 additions and 29 deletions

View File

@@ -139,6 +139,8 @@ public:
virtual std::string getLens (unsigned int frame = 0) const = 0;
/** @return the orientation of the image */
virtual std::string getOrientation (unsigned int frame = 0) const = 0;
/** @return the rating of the image */
virtual int getRating (unsigned int frame = 0) const = 0;
/** @return true if the file is a PixelShift shot (Pentax and Sony bodies) */
virtual bool getPixelShift () const = 0;