diff options
Diffstat (limited to 'core/fxcodec/jbig2/JBig2_Image.h')
-rw-r--r-- | core/fxcodec/jbig2/JBig2_Image.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/fxcodec/jbig2/JBig2_Image.h b/core/fxcodec/jbig2/JBig2_Image.h index c0980407db..51ccaeb8f7 100644 --- a/core/fxcodec/jbig2/JBig2_Image.h +++ b/core/fxcodec/jbig2/JBig2_Image.h @@ -29,6 +29,8 @@ class CJBig2_Image { CJBig2_Image(const CJBig2_Image& im); ~CJBig2_Image(); + static bool IsValidImageSize(int32_t w, int32_t h); + int32_t width() const { return m_nWidth; } int32_t height() const { return m_nHeight; } int32_t stride() const { return m_nStride; } |