Robbat2 (robbat2) wrote,

Making transparent PDFs in Linux

Just documenting this again, so I don't forget it, and it might help others too.

Specifically, how to make a PDF with transparency, using ImageMagick, so that it can be used as a stamp for PDFTK. This requires a PNG with transparency as input.

convert $INPUT.PNG -transparent white -background none $OUTPUT.PDF
pdftk $FORM.PDF stamp $OUTPUT.PDF output $COMPLETED_FORM.PDF
Tags: pdf, tips, transparency
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 1 comment