{"id":111,"date":"2022-01-26T10:44:45","date_gmt":"2022-01-26T15:44:45","guid":{"rendered":"https:\/\/coherentpdf.com\/blog\/?p=111"},"modified":"2022-04-19T09:25:57","modified_gmt":"2022-04-19T14:25:57","slug":"coherent-pdf-command-line-tools-and-c-c-python-api-version-2-5","status":"publish","type":"post","link":"https:\/\/coherentpdf.com\/blog\/?p=111","title":{"rendered":"Coherent PDF Command Line Tools and C\/C++\/Python\/.NET\/Java API Version 2.5"},"content":{"rendered":"\n<p>New features and improvements:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>New features:<\/p>\n\n\n\n<p>o Can read as well as write PDFs in JSON format with -j<br>o New operation -typeset typesets a text file as a PDF<br>o New operation -table-of-contents makes table of contents from bookmarks<br>o New operations -impose and -impose-xy for document imposition<br>o New operation -print-font-table gives (charcode, unicode, glyph name) triples<br>o New -print-dict-entry operation prints values for a given key<br>o New -replace-dict-entry function to search &amp; replace e.g URLs<br>o Prepend e.g 2DUP to a page range to make 1,2,3 &#8211;&gt; 1,1,2,2,3,3 etc.<br>o Prepend NOT to a page range to invert it<br>o Output annotations in JSON form with -list-annotations-json<br>o Output bookmarks in JSON format with -list-bookmarks-json<br>o Load bookmarks in JSON format with -add-bookmarks-json<br>o New option -collate to collate pages when merging<br>o Text added in existing fonts is now encoding-aware (plus new raw mode)<\/p>\n\n\n\n<p>Extended features:<\/p>\n\n\n\n<p>o Extend -remove-dict-entry to allow search<br>o Annotation \/QuadPoints processed in addition to \/Rect when transforming pages<br>o When adding text or graphics, may choose CYMK or Grey instead of RGB<br>o The -list-fonts operation now obeys the range<br>o Can now search for a font by real name with -font<br>o Basic merging of AcroForms when merging documents<br>o Add -idir-only-pdfs to restrict -idir to just files ending in .pdf<br>o Option -debug-force now properly documented as -decrypt-force<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>And, of course, many bug fixes since the previous release. Available here:<\/p>\n\n\n\n<p><a href=\"http:\/\/coherentpdf.com\/\">http:\/\/coherentpdf.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>New features and improvements: New features: o Can read as well as write PDFs in JSON format with -jo New operation -typeset typesets a text file as a PDFo New operation -table-of-contents makes table of contents from bookmarkso New operations &hellip; <a href=\"https:\/\/coherentpdf.com\/blog\/?p=111\">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-111","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111","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=111"}],"version-history":[{"count":3,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":116,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/111\/revisions\/116"}],"wp:attachment":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}