From ab611de375e6ef5a5d9271247bd594aa30b275e6 Mon Sep 17 00:00:00 2001 From: Olivier Tilloy Date: Fri, 22 Jan 2010 20:44:32 +0100 Subject: Read-only access to the mime type of an image. From an original patch by Matt Mossholder (mattcm@mourneblade.mossholder.com). --- src/exiv2wrapper.hpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/exiv2wrapper.hpp') 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). -- cgit