ImageMagick: convert image to PDF with A4 page size and image fit to page -


I want to convert different image formats (BMP, JPG, GIF, PNG, membrane-suppliers) to PDF format A4 fit in page with page size and images (resized if needed). The image should be located at the center of the page and I want to define the offset. I tried the code below, but there is no offset on the top and the image quality is really bad.

  convert png.png - progressively 500x500 -quality 100-page a4x5x5 myout.pdf  

> Convert image.tif -resize 575x823 ^> -Gravity Center -Back Ground White -North 595x842 image.pdf

Comments

Popular posts from this blog

c++ - Cmake produces file extensions in static library archives -

c# - Roxy file manager in MVC doesn't accept session path -

c# - Check if a NumericUpDown has no value -