Page 1 of 1

Convert PDF with exactly the same quality

Posted: 2017-12-08T11:22:54-07:00
by a.khalil
Hi Every one

I want to convert multiple pdf to one pdf but when I try

Code: Select all

convert 0001.pdf 0002.pdf -quality 100 test30.pdf
the quality is very bad . I specify that they are copies with handwriting.

Any idea ?

Thanks

Re: Convert PDF with exactly the same quality

Posted: 2017-12-08T11:28:13-07:00
by fmw42
ImageMagick is not a very good tool for vector to vector processing. It will rasterize your PDF and then embed that into a pdf vector shell. -quality is not useful for pdf processing. You probably want to change the density and resize.

Code: Select all

convert -density 288 0001.pdf 0002.pdf test30.pdf
or

Code: Select all

convert -density 288 0001.pdf 0002.pdf -resize 25% test30.pdf
This assume you start with vector pdf files with nominal 72 dpi. So 4*72=288 and 1/4=25%

The larger the density the larger better the quality, but the bigger the filesize will be.

Re: Convert PDF with exactly the same quality

Posted: 2017-12-08T12:38:07-07:00
by snibgo
A more suitable tool for that task is pdfunite, which is available for *nix, Windows (eg from Cygwin), and probably many other platforms.