diff options
author | Olivier Tilloy <olivier@tilloy.net> | 2010-01-22 20:44:32 +0100 |
---|---|---|
committer | Olivier Tilloy <olivier@tilloy.net> | 2010-01-22 20:44:32 +0100 |
commit | ab611de375e6ef5a5d9271247bd594aa30b275e6 (patch) | |
tree | b2b7e56101f01dd4d5c04d5d8f8043dfa1f6f52b /src/exiv2wrapper.hpp | |
parent | 9a8a5ff1b0daa3293eb94c6cba16a42f43201715 (diff) | |
download | pyexiv2-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.hpp | 3 |
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). |