PNG to PDF convert on Linux command line

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
kulpem
Posts: 3
Joined: 2017-12-07T06:37:11-07:00
Authentication code: 1152

PNG to PDF convert on Linux command line

Post by kulpem »

I'm trying to convert a png image to a pdf file using Linux command line.

I have this image (example)

Image

enter image description here

I'm trying to convert it to pdf using

convert (Imagemagick)

nothing help, I just get an empty white PDF file. Interesting enough the file weight as it contains everything

Of course, if I try to convert a regular square image all solutions work 100%

using version: ImageMagick 6.9.7-4 Q16 x86_64 20170114

10x
Really need help
snibgo
Posts: 12159
Joined: 2010-01-23T23:01:33-07:00
Authentication code: 1151
Location: England, UK

Re: PNG to PDF convert on Linux command line

Post by snibgo »

"convert t.png x.pdf" works fine for me, with IM v6.9.9-50, and viewing x.pdf with Adobe Acrobat Reader DC 19.008
snibgo's IM pages: im.snibgo.com
Post Reply