Re: Page dimensions and saving in pdf
Posted: Sun Feb 06, 2022 8:57 pm
Found there is a good description online for imagemagick at https://legacy.imagemagick.org/Usage/
It turned out to be quite simple.
This will convert one image to a one page pdf file. The pdf will be created ok, but with the following warning
"convert: UnableToOpenConfigureFile"
Adding the suffix to the command will sort that out
It can also take multiple images at once.
The line above will take the three png files and create a pdf document with 3 pages.
Optionally you can add commands like -rotate 90 or -resize 50% for further manipulation.
It turned out to be quite simple.
Code: Select all
convert test_0001.png test1.pdf"convert: UnableToOpenConfigureFile"
Adding the suffix to the command will sort that out
Code: Select all
convert test_0001.png PDF: test1.pdfCode: Select all
convert test_000[1-3].png PDF: test.pdfOptionally you can add commands like -rotate 90 or -resize 50% for further manipulation.