Page 1 of 1

Convert to PDF: output file is too small

Posted: 2019-03-03T20:18:45-07:00
by claus_01
Hello,

after performing

Code: Select all

convert -density 300 image.svg image.pdf
the output file is way too small. I created the SVG in Inkscape (dimensions: 120 x 50 mm). Is '-density 300' superfluous? Version: ImageMagick 6.9.7-4 on Ubuntu 18.04 LTS (64 bit). When I save the image in Inkscape (as PDF/300 dpi), the resulting PDF is ok.

Claus

Re: Convert to PDF: output file is too small

Posted: 2019-03-04T06:29:03-07:00
by snibgo
A different "-density" before reading the PDF should give a different output size, in pixels. If it doesn't, please post your SVG file.

After reading the PDF, you can use "-density" to change the dimensions in mm, without changing the number of pixels.