summaryrefslogtreecommitdiffstats
path: root/qpdf
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2012-07-15 13:42:39 +0200
committerJay Berkenbilt <ejb@ql.org>2012-07-15 22:22:28 +0200
commitb5012512916cf136d2f44c0f525075c26686bb77 (patch)
tree6ef80f31a79c2d24f657e4dbecc412da7c59ceb6 /qpdf
parent0575d77d77b0308535422ad2d3a1bf7c94baabb0 (diff)
downloadqpdf-b5012512916cf136d2f44c0f525075c26686bb77.tar.zst
qpdf: push inherited attributes to page when showing images
from qpdf command-line tool
Diffstat (limited to 'qpdf')
-rw-r--r--qpdf/qpdf.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc
index 0788388b..148dff04 100644
--- a/qpdf/qpdf.cc
+++ b/qpdf/qpdf.cc
@@ -945,6 +945,10 @@ int main(int argc, char* argv[])
}
if (show_pages)
{
+ if (show_page_images)
+ {
+ pdf.pushInheritedAttributesToPage();
+ }
std::vector<QPDFObjectHandle> pages = pdf.getAllPages();
int pageno = 0;
for (std::vector<QPDFObjectHandle>::iterator iter =