{"id":121,"date":"2019-11-14T12:30:59","date_gmt":"2019-11-14T11:30:59","guid":{"rendered":"http:\/\/www.hughdenman.com\/blog\/?p=121"},"modified":"2019-11-14T12:34:03","modified_gmt":"2019-11-14T11:34:03","slug":"pdf-booklets-watermarking","status":"publish","type":"post","link":"https:\/\/www.hughdenman.com\/blog\/?p=121","title":{"rendered":"PDF booklets, watermarking"},"content":{"rendered":"<p>Given some black-on-white art to use as a watermark (PNG with transparent background), we can desaturate and apply as a watermark as follows (it&#8217;s necessary to set the background of the text PDF to transparent rather than white so that the watermark is visible behind the text):<\/p>\n<pre>convert clipart.png -negate -modulate 4 -negate watermark.pdf\nconvert -density 600 booklet.pdf -transparent white booklet.pdf\npdftk booklet.pdf multibackground watermark.pdf output out.pdf<\/pre>\n<p>Booklet printing in Preview enforces a border; better to export an ordinarily laid-out PDF and convert.\u00c2\u00a0 In Google Docs margins of 0.5&#8243; all around, and setting paper size to A4, seems to work well.<\/p>\n<pre class=\"p1\"><span class=\"s1\">pdf2<\/span><span class=\"s2\">ps booklet.pdf<\/span>\n<span class=\"s1\">psb<\/span><span class=\"s2\">ook booklet.ps booklet.sigs.ps<\/span>\n<span class=\"s1\">psn<\/span><span class=\"s2\">up -Pa4 -2 booklet.sigs.ps booklet.2up.ps<\/span>\n<span class=\"s1\">ps2<\/span><span class=\"s2\">pdf booklet.2up.ps<\/span><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Given some black-on-white art to use as a watermark (PNG with transparent background), we can desaturate and apply as a watermark as follows (it&#8217;s necessary to set the background of the text PDF to transparent rather than white so that the watermark is visible behind the text): convert clipart.png -negate -modulate 4 -negate watermark.pdf convert [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/121"}],"collection":[{"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=121"}],"version-history":[{"count":5,"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions"}],"predecessor-version":[{"id":128,"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/121\/revisions\/128"}],"wp:attachment":[{"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=121"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=121"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hughdenman.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=121"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}