Search code examples
imagemagickimagemagick-convert

Imagemagik-convert pdf to pdf without doing anything


I want to take a PDF of scanned hand written images, darken it and increase contrast. However, regardless of the command i type into the terminal, the output file looks blurry and the file size is much smaller than the original. It was reduced from 8MB to 1.3 MB

So how can I convert a pdf to pdf without losing quality? I tried:

convert input.pdf output.pdf

but clearly just returns a pdf of blurry images.


Solution

  • If you check the posts you will notice you have to upsize and put density first e.g

    convert -density 288 input.pdf -resize 25% output.pdf
    

    Last weeks similar question