aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.hpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-01-22 20:39:18 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-01-22 20:39:18 +0100
commit9a8a5ff1b0daa3293eb94c6cba16a42f43201715 (patch)
tree66412a5c7790a8e93335390b8b0f586f73e77a32 /src/exiv2wrapper.hpp
parentc5cf46e198cbd3f77c7af8cc1a56c0140578cbae (diff)
downloadpyexiv2-9a8a5ff1b0daa3293eb94c6cba16a42f43201715.tar.gz
Read-only access to the dimensions of an image.
From an original patch by Matt Mossholder (mattcm@mourneblade.mossholder.com).
Diffstat (limited to 'src/exiv2wrapper.hpp')
-rw-r--r--src/exiv2wrapper.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp
index a1c28df..230aba4 100644
--- a/src/exiv2wrapper.hpp
+++ b/src/exiv2wrapper.hpp
@@ -156,6 +156,10 @@ public:
void readMetadata();
void writeMetadata();
+ // Read-only access to the dimensions of the picture.
+ unsigned int pixelWidth() const;
+ unsigned int pixelHeight() const;
+
// Read and write access to the EXIF tags.
// For a complete list of the available EXIF tags, see
// libexiv2's documentation (http://exiv2.org/tags.html).