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

Pass DB Connection parameters to a Kettle a.k.a PDI table Input step dynamically from Excel -

multithreading - PhantomJS-Node in a for Loop -

c++ - MATLAB .m file to .mex file using Matlab Compiler -