Support for multipage decoding in BaseImageDecoder and implemented in TiffDecoder.

This commit is contained in:
Ashod Nakashian
2014-12-29 10:50:03 -05:00
parent 6cb93445e1
commit ecf359b8c9
3 changed files with 18 additions and 5 deletions

View File

@@ -70,6 +70,9 @@ public:
virtual bool readHeader() = 0;
virtual bool readData( Mat& img ) = 0;
/// Called after readData to advance to the next page, if any.
virtual bool nextPage() { return false; }
virtual size_t signatureLength() const;
virtual bool checkSignature( const String& signature ) const;
virtual ImageDecoder newDecoder() const;