I've see everywhere that a "convert" command works. But I'm using windows and convert does the following

"In computing, convert is a command-line utility included in the Windows NT operating system line. It is used to convert volumes using the FAT file systems to NTFS."

How can I manage to do this in Windows? I have PDFTK installed.

5

2 Answers

You are almost certainly seeing references to ImageMagick, which has a convert utility that potentially allows .png to .pdf conversion e.g.:

convert image1.png image2.png image3.png output.pdf 

You will need to install ImageMagick to use its convert utility (make sure it's properly added to your Windows PATH).

I am not personally familiar with PDFTK (so I could be wrong) but I get the impression it is primarily used in conjunction with ImageMagick because it does splitting and merging (not conversion).


Alternatively, with more recent versions of ImageMagick (v7+), you can potentially use either:

magick convert image1.png image2.png image3.png output.pdf 

or simply:

magick image1.png image2.png image3.png output.pdf 

as well.

2
  1. Windows 10 has a Print to PDF feature built into explorer.

  2. Use GIMP 2.10+ and export as PDF.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy