How can I use LibreOffice Draw to convert multiple jpg files which were scanned, to a pdf file in a short way. Last time I had to create "New page" then "Insert -> Image" which was a *** for about 50 pages.

  • 2
    So you are thinking about Imagemagick and the convert command. – Andrea Lazzarotto Jul 7 '17 at 12:02
  • 1
    Does this workflow need to involve LibreOffice? I suppose there are other (command-line) tools to convert jpgs to pdf and then to merge the resulting pdfs into a single big pdf file. - EDIT: oops - @AndreaLazzarotto - one minute faster... – tohuwawohu Jul 7 '17 at 12:04
  • @tohuwawohu because of checking files and sorting them command-line tools are not very handling for me. – Mirza Jul 7 '17 at 12:06
  • Well, it is your duty to sort the pages beforehand anyway, regardless of the tool you will use to merge. – Andrea Lazzarotto Jul 7 '17 at 12:08
  • sometimes we had made pdfs and we need to insert one missed page or delete other page. regularly files are not sortable by name. this time I really prefer a tool with GUI – Mirza Jul 7 '17 at 12:13

IMHO this isn't a LO problem, but a workflow issue. The best solution depends on the specific requirements. If the requirements do vary, i would recommend trying to "modularize" the process, so variations will only affect one workflow module.

If you aren't sure which jpgs to convert (and if disk space isn't an issue), you should simply convert all of them (command line tool, e.g. imagemagick/convert).

To select the pdfs for merging, you could use a GUI tool like PDFShuffler. Just add all pdfs created in step one, and remove the ones that shouldn't be merged.

To edit the resulting single big PDF afterwards, use a tool like PDFSam that lets you insert a single PDF in the middle of another PDF file.


Use LO Impress' Photo Album feature: New Presentation -> Insert -> Media -> Photo Album. There, you can select multiple images to insert. If you're done, just export as PDF.

  • I wished some developer had put them all together in one app – Mirza Jul 7 '17 at 12:55
  • @Mirza: Answer updated... – tohuwawohu Jul 7 '17 at 14:44
  • while it is a photo album, does it support any formats other than images like pdf ? even if not it will help a lot. – Mirza Jul 7 '17 at 16:05
  • Sorry, i' not sure if i understand correctly. PDf isn't an image format, but images may be "embedded" in PDf files. Impress won't edit the PDF files, but you can save the impress file after creating the PDF, so you can modify the file with impress and re-create the PDf if required. It would be helpful if you describe your use case more exactly. – tohuwawohu Jul 7 '17 at 17:55
  • Tnx, that was useful enough and I got what I needed. – Mirza Jul 7 '17 at 18:38

You can use ImageMagick (package name: imagemagick) for that job:

convert <SOURCE...> <TARGET>


convert *.jpg my-collection.pdf
  • shouldn't I wait a bit if there would be any more complete answer? – Mirza Jul 7 '17 at 16:03
  • @Mirza: Sure, I just wanted to remind you of it in general. – David Foerster Jul 7 '17 at 23:44

Maybe you should have a look at online tools for this, like https://smallpdf.com/jpg-to-pdf it's sometime easier than try to find a way using a specific software

  • I tested the site you mentioned. It's useful for small converts because there is a limit for pdf file for free users. editing pdf and merging them needs the pro version and most of all for me, uploading here is not free of charge and cost me additional cost – Mirza Jul 7 '17 at 12:19

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.