From c0ba249a48fd85ee8e047ff47448a4ed32d6cd91 Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Sat, 26 Apr 2014 14:27:04 +0400 Subject: Add SubType setters/getters and SupportedSubTypes option. SubType can be used to determine an internal format of an image such as pixel format and/or compression algorithms. Change-Id: Icf296d54bb509e4e2bdb70544df678fc53f57c79 Reviewed-by: Gunnar Sletta --- src/gui/image/qimagereader.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gui/image/qimagereader.h') diff --git a/src/gui/image/qimagereader.h b/src/gui/image/qimagereader.h index 8409545079..fd23bc8e6c 100644 --- a/src/gui/image/qimagereader.h +++ b/src/gui/image/qimagereader.h @@ -113,6 +113,9 @@ public: bool supportsAnimation() const; + QByteArray subType() const; + QList supportedSubTypes() const; + bool canRead() const; QImage read(); bool read(QImage *image); -- cgit v1.2.3