{"id":140,"date":"2026-03-16T12:49:20","date_gmt":"2026-03-16T17:49:20","guid":{"rendered":"https:\/\/coherentpdf.com\/blog\/?p=140"},"modified":"2026-03-16T12:50:11","modified_gmt":"2026-03-16T17:50:11","slug":"coherent-pdf-command-line-tools-version-2-9","status":"publish","type":"post","link":"https:\/\/coherentpdf.com\/blog\/?p=140","title":{"rendered":"Coherent PDF Command Line Tools Version 2.9"},"content":{"rendered":"\n<p>New features:<\/p>\n\n\n\n<p>o Cpdf now has a man page, which abbreviates cpdfmanual.pdf<br>o More sensible -help (current -help moved to -summary)<br>o Detect and remove JavaScript<br>o Show progress on long files<br>o Create PDF portfolios<br>o Remove procsets, article threads, page pieces<br>o Remove web capture, output intents, alternate images<br>o Reprocess JPEG2000s within files<br>o Convert lossless images to JPEG2000<br>o Remove all metadata streams<br>o Extract all metadata streams to file<br>o Allow the empty range<br>o Allow a range specifying some pages which do not exist<br>o Extract a single image with -extract-single-image<\/p>\n\n\n\n<p>Extended features:<\/p>\n\n\n\n<p>o CCITT and CCITTG4 encoders in -process-images<br>o Force image processing even when image larger<br>o -thinlines can ensure maximum as well as minimum thickness<br>o New -just-content for easier content stream debugging<br>o -squeeze processes xobjects inside xobjects<br>o Speed increases for -squeeze on huge files<br>o Select only such pages as are annotated<br>o Allow -create-pdf and friends to appear in middle of AND<br>o -draw can use JPEG2000s<br>o New -list-attached-files -json optionally including file data<br>o List and add descriptions and relationships for attachments<br>o Process lossless CMYK images<br>o Use 8bpp Alpha PNGs with -rasterize, -output-image, -png and when drawing<br>o -list-images and friends show mask status, and list masks<br>o -list-images and friends now list inline images<br>o -list-images now distinguishes types of CCITT encoding<br>o -list-images now distinguishes lossy and lossless JBIG2<br>o Extract inline images<br>o Extract soft masks<br>o Optionally combine soft marks with image when extracting images<br>o Decompress can decompress JBIG2 encoded streams with jbig2dec<\/p>\n\n\n\n<p>Fixes:<\/p>\n\n\n\n<p>o Sanitizes inputs to prevent command injection attacks (supported by a grant from NLnet)<br>o Fix PMAXX et al. w.r.t -add-rectangle<br>o Allow Float\/Int to appear anywhere in CPDFJSON \/ bookmark JSON<br>o Allow -info in the case where objstm reading requires password<br>o Allow -stdin in -info and in -merge (once)<br>o Cpdfimages was accidentally creating palettised PNGs<br>o Page label prefixes now in UTF8<br>o Regression where bookmarks were being corrupted<br>o Removes the dependency on wmic for reading the date.<br>o -pad-after, -pad-before were failing if range not sorted<\/p>\n\n\n\n<p>Available now at <a href=\"https:\/\/www.coherentpdf.com\/\">https:\/\/www.coherentpdf.com\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>New features: o Cpdf now has a man page, which abbreviates cpdfmanual.pdfo More sensible -help (current -help moved to -summary)o Detect and remove JavaScripto Show progress on long fileso Create PDF portfolioso Remove procsets, article threads, page pieceso Remove web &hellip; <a href=\"https:\/\/coherentpdf.com\/blog\/?p=140\">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-140","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/140","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=140"}],"version-history":[{"count":2,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions"}],"predecessor-version":[{"id":142,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/140\/revisions\/142"}],"wp:attachment":[{"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=140"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=140"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/coherentpdf.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=140"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}