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

asp.net - Procedure or function "Procedure name" expects a parameter "Param name" which was not supplied occurs rarely -

c# - The item with identity 'Id' already exists in the metadata collection. Parameter name: item -

c++ - Redefined variable in the other module -