summaryrefslogtreecommitdiff
path: root/core/fpdfapi/page/cpdf_image.h
diff options
context:
space:
mode:
authorrbpotter <rbpotter@chromium.org>2016-12-14 11:44:31 -0800
committerCommit bot <commit-bot@chromium.org>2016-12-14 11:44:31 -0800
commitf085db37c21ad2bd66e349f9307fc89b426217f5 (patch)
tree1743d925a4b6aae683e31b4e58f793166c13c8d1 /core/fpdfapi/page/cpdf_image.h
parent0d73909e89a5c93917b9cb73fe5c03c484f2793d (diff)
downloadpdfium-f085db37c21ad2bd66e349f9307fc89b426217f5.tar.xz
Add inline JPEGs.
Allows JPEG data to be copied into the file rather than left in a separate file. This is needed to allow rasterized PDFs to avoid saving image files for each page. See Chromium issue 2524143003 for chromium changes. BUG=534945, 550205, 480628 Review-Url: https://codereview.chromium.org/2529543003
Diffstat (limited to 'core/fpdfapi/page/cpdf_image.h')
-rw-r--r--core/fpdfapi/page/cpdf_image.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/fpdfapi/page/cpdf_image.h b/core/fpdfapi/page/cpdf_image.h
index 1b0d74f123..e0fc761b38 100644
--- a/core/fpdfapi/page/cpdf_image.h
+++ b/core/fpdfapi/page/cpdf_image.h
@@ -52,6 +52,7 @@ class CPDF_Image {
void SetImage(const CFX_DIBitmap* pDIBitmap);
void SetJpegImage(const CFX_RetainPtr<IFX_SeekableReadStream>& pFile);
+ void SetJpegImageInline(const CFX_RetainPtr<IFX_SeekableReadStream>& pFile);
void ResetCache(CPDF_Page* pPage, const CFX_DIBitmap* pDIBitmap);