Liking cljdoc? Tell your friends :D

clj-htmltopdf.watermark


*pdf-images*clj

source

create-pdf-imageclj

(create-pdf-image file doc)

Creates an XObject image from an image file. Caches this XObject for this particular PDF document so that if the image is rendered into the PDF multiple times, the PDF will reference the same image instead of creating duplicates (which would potentially bump up the file size drastically). This function must only be called from within code invoked by write-watermark!.

Creates an XObject image from an image file. Caches this XObject for this particular PDF document so that if the
image is rendered into the PDF multiple times, the PDF will reference the same image instead of creating duplicates
(which would potentially bump up the file size drastically).
This function must only be called from within code invoked by write-watermark!.
sourceraw docstring

render-image-watermark!clj

(render-image-watermark! doc page cs options)
source

render-text-watermark!clj

(render-text-watermark! doc page cs options)
source

render-watermark!clj

(render-watermark! doc page cs options)
source

watermark-fontsclj

source

write-watermark!clj

(write-watermark! pdf out {:keys [watermark] :as options})
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close