coherentgraphics / cpdf-binaries

PDF Command Line Tools binaries for Linux, Mac, Windows
GNU Affero General Public License v3.0
593 stars 42 forks source link

stamp logo from a non PDF source (for instance PNG) #69

Closed maxiride closed 1 year ago

maxiride commented 1 year ago

I've tried to play around the CLI today, and while I did solve the #68 (thanks for the tips @johnwhitington) I understand that the cpdf CLI only accepts PDFs as input files for logos and watermarks.

Is there any workaround or is this an intended limitation for reasons I miss to see?

johnwhitington commented 1 year ago

No, cpdf only manipulates PDF files. You could use another command line tool - imagemagick, for example, to convert your PNG to a PDF.