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

python - Writing Greek in matplotlib labels, titles -

c# - LINQ to Entities does not recognize the method 'Int32 IndexOf(System.String, System.StringComparison)' method -

c# - Call function from DLL -