diff options
Diffstat (limited to 'core/fpdfapi/page/cpdf_image.h')
-rw-r--r-- | core/fpdfapi/page/cpdf_image.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h index f7752213f1..b4636711fd 100644 --- a/core/fpdfapi/page/cpdf_image.h +++ b/core/fpdfapi/page/cpdf_image.h @@ -28,6 +28,9 @@ class CPDF_Image final : public Retainable { template <typename T, typename... Args> friend RetainPtr<T> pdfium::MakeRetain(Args&&... args); + static bool IsValidJpegComponent(int32_t comps); + static bool IsValidJpegBitsPerComponent(int32_t bpc); + void ConvertStreamToIndirectObject(); CPDF_Dictionary* GetDict() const; |