markpdf icon indicating copy to clipboard operation
markpdf copied to clipboard

[Feature] Image tiles all over the page

Open AnkurGel opened this issue 2 years ago • 1 comments

Synatax:

markpdf pdf.pdf ~/Downloads/logo.jpeg out.pdf -p10 -t

In above syntax, using -p to scale the image to 10% and -t to generate tiles all over the page. Result: pattern like below: image

You can also use an additional flag -z or --spacing to add spacing b/w the tiles.

markpdf pdf.pdf ~/Downloads/logo.jpeg out.pdf -p10 -t -z20
image

AnkurGel avatar Oct 10 '22 17:10 AnkurGel

Hey @ajaxray. Did you get a chance to review this and the other PR?

AnkurGel avatar Oct 14 '22 04:10 AnkurGel

@AnkurGel, This is another great addition to this tool. Will check and merge soon :)

ajaxray avatar Dec 11 '22 11:12 ajaxray

Merged with many many thanks. 😄 I've added a new release based on the new features you've added. https://github.com/ajaxray/markpdf/releases/tag/1.0.1

ajaxray avatar Dec 27 '22 07:12 ajaxray