Support for multipage decoding in BaseImageDecoder and implemented in TiffDecoder.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user