aboutsummaryrefslogtreecommitdiffstats
path: root/src/exiv2wrapper.hpp
diff options
context:
space:
mode:
authorOlivier Tilloy <olivier@tilloy.net>2010-01-22 20:44:32 +0100
committerOlivier Tilloy <olivier@tilloy.net>2010-01-22 20:44:32 +0100
commitab611de375e6ef5a5d9271247bd594aa30b275e6 (patch)
treeb2b7e56101f01dd4d5c04d5d8f8043dfa1f6f52b /src/exiv2wrapper.hpp
parent9a8a5ff1b0daa3293eb94c6cba16a42f43201715 (diff)
downloadpyexiv2-ab611de375e6ef5a5d9271247bd594aa30b275e6.tar.gz
Read-only access to the mime type 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.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/exiv2wrapper.hpp b/src/exiv2wrapper.hpp
index 230aba4..f6c305a 100644
--- a/src/exiv2wrapper.hpp
+++ b/src/exiv2wrapper.hpp
@@ -160,6 +160,9 @@ public:
unsigned int pixelWidth() const;
unsigned int pixelHeight() const;
+ // Read-only access to the MIME type of the image.
+ std::string mimeType() 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).