summaryrefslogtreecommitdiff
path: root/src/picture_asset.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/picture_asset.h')
-rw-r--r--src/picture_asset.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/picture_asset.h b/src/picture_asset.h
index 4e1801f9..18170f46 100644
--- a/src/picture_asset.h
+++ b/src/picture_asset.h
@@ -87,6 +87,14 @@ public:
std::list<std::string> equals (boost::shared_ptr<const Asset> other, EqualityOptions opt) const;
boost::shared_ptr<const PictureFrame> get_frame (int n) const;
+
+ int width () const {
+ return _width;
+ }
+
+ int height () const {
+ return _height;
+ }
private:
std::string path_from_list (int f, std::vector<std::string> const & files) const;