{"id":135,"date":"2025-04-05T10:07:57","date_gmt":"2025-04-05T15:07:57","guid":{"rendered":"https:\/\/coherentpdf.com\/blog\/?p=135"},"modified":"2025-04-05T10:07:58","modified_gmt":"2025-04-05T15:07:58","slug":"coherent-pdf-command-line-tools-version-2-8-1","status":"publish","type":"post","link":"https:\/\/coherentpdf.com\/blog\/?p=135","title":{"rendered":"Coherent PDF Command Line Tools Version 2.8.1"},"content":{"rendered":"\n<p>New features:<\/p>\n\n\n\n<p>o -remove-struct-tree removes whole structure tree<br>o -mark-as-artifact marks a whole file as an artifact<\/p>\n\n\n\n<p>Extended features:<\/p>\n\n\n\n<p>o -obj JSON output<br>o -obj\/-obj-json can follow a chain from an object number<br>o -obj\/-obj-json can explore through arrays and name\/number trees<br>o -print-dict-entry, -remove-dict-entry and -replace-dict-entry<br>can follow a chain from each found dictionary entry<br>o Much more of the PDF\/UA Matterhorn verification suite implemented<br>o PDF\/UA verifier now returns extra information with most failures<br>o Font lister now returns the font itself<br>o Allow %objnum in output name for -extract-images<br>o -show-boxes, -trim-marks, -table-of-contents, -add-text<br>-add-rectangle, -impose, -twoup, -twoup-stack now preserve<br>PDF\/UA and PDF\/UA-2 compatibility<br>o Preserve PDF\/UA and PDF\/UA-2 when drawing on existing PDF<br>o Preserve PDF\/UA and PDF\/UA-2 with -stamp-on and -combine-pages<br>o Allow -scale-stamp-to-fit for -combine-pages<br>o Allow -underneath for -combine-pages<br>o Preserve roundtripping of names destinations \/ actions<br>o -preserve-actions allows PDF\/UA-2 style roundtripping of<br>outlines<\/p>\n\n\n\n<p>Fixes:<\/p>\n\n\n\n<p>o Harden auto-compression against malformed streams<br>o Add backup JPEG dimensions method in Cpdfimage<br>o Correct object stream behaviour when splitting<br>o Fix margin calculation for -table-of-contents<\/p>\n\n\n\n<p>Available now at <a href=\"https:\/\/www.coherentpdf.com\/\">https:\/\/www.coherentpdf.com\/<\/a><\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>New features: o -remove-struct-tree removes whole structure treeo -mark-as-artifact marks a whole file as an artifact Extended features: o -obj JSON outputo -obj\/-obj-json can follow a chain from an object numbero -obj\/-obj-json can explore through arrays and name\/number treeso -print-dict-entry, &hellip; <a href=\"https:\/\/coherentpdf.com\/blog\/?p=135\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-135","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/135","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=135"}],"version-history":[{"count":1,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/135\/revisions"}],"predecessor-version":[{"id":136,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/135\/revisions\/136"}],"wp:attachment":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}