aboutsummaryrefslogtreecommitdiff
path: root/converters/pdf2djvu/files/patch-pdf-dpi.cc
diff options
context:
space:
mode:
Diffstat (limited to 'converters/pdf2djvu/files/patch-pdf-dpi.cc')
-rw-r--r--converters/pdf2djvu/files/patch-pdf-dpi.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/converters/pdf2djvu/files/patch-pdf-dpi.cc b/converters/pdf2djvu/files/patch-pdf-dpi.cc
new file mode 100644
index 000000000000..e1be2fa9e1c0
--- /dev/null
+++ b/converters/pdf2djvu/files/patch-pdf-dpi.cc
@@ -0,0 +1,11 @@
+--- pdf-dpi.cc.orig 2019-10-27 19:10:07 UTC
++++ pdf-dpi.cc
+@@ -34,7 +34,7 @@ class DpiGuessDevice : public pdf::OutputDevice (prote
+ }
+
+ virtual void drawImage(pdf::gfx::State *state, pdf::Object *object, pdf::Stream *stream, int width, int height,
+- pdf::gfx::ImageColorMap *color_map, bool interpolate, int *mask_colors, bool inline_image)
++ pdf::gfx::ImageColorMap *color_map, bool interpolate, const int *mask_colors, bool inline_image)
+ {
+ this->process_image(state, width, height);
+ }