images and pdf
- Vous devez vous identifier ou créer un compte pour écrire des commentaires
I have three landscape-oriented png images. They're each something like 1700 x 1200.
Can put them into a three-page pdf document? I'd like to keep the image quality, and horizontal orientation too if possible.
Is there a program that will do this?
I could put the pngs into LibreOffice Writer. But Writer has the white-space border around the image. I can stretch the image to cover that border, but I don't know how to stretch it "to scale". the png gets distorted either vertically or horizontally when I do this.
Oh ... LO Office has a program called Draw. And it does exactly this. And it did it perfectly.
Never mind this topic
Answering anyway the first question: you can use the 'convert' command (shipped with the ImageMagick package) to get PDFs:
$ for img in *.png; do convert "img" "${img%ng}df"; done
You can then join the PDFs ('pdfjoin' is shipped with the PDFjam package):
$ pdfjoin *.pdf
The order is that of the arguments (you may not want the alphabetical order you get with globbing, i.e., using the "*").
- Vous devez vous identifier ou créer un compte pour écrire des commentaires