[Solved] Slim solution for converting JPEGs into PDFs than LibreOffice?

Post here if you are a new Porteus member and you're looking for some help.
User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

[Solved] Slim solution for converting JPEGs into PDFs than LibreOffice?

Post#1 by Rava » 13 Nov 2021, 21:21

Once again I have to convert several images into a PDF.
Every time in the past I had to fire up Libre Office - and even when I use the outdated LibreOffice-6.2.5.2-x86_64-de_rava.xzm - it is still a whooping 205.09 MB in size.

And once again I wonder: Is there no smaller solution for just putting some JPEGs into a PDF?
>200 MB for just that even when we have efficiently compressed live modules is kind of overkill for what needs to be done.

It should be possible to adjust the image size or where the image should be placed, it should result in a PDF using A4 as page size - still the images I make and need to put into an PDF are sure not made to fit the aspect radio perfectly.

Any tips? And please no online solution the data is confidential.
Cheers!
Yours Rava

beny
Full of knowledge
Full of knowledge
Posts: 2086
Joined: 02 Jan 2011, 11:33
Location: italy

Slim solution for converting JPEGs into PDFs than LibreOffice?

Post#2 by beny » 13 Nov 2021, 21:39

hi Rava, one can be imagemagik seem, try if work: and is a slackware package
convert *.jpg name.pdf
convert foto.jpg name.pdf i confirm that work

User avatar
Rava
Contributor
Contributor
Posts: 5401
Joined: 11 Jan 2011, 02:46
Distribution: XFCE 5.01 x86_64 + 4.0 i586
Location: Forests of Germany

Slim solution for converting JPEGs into PDFs than LibreOffice?

Post#3 by Rava » 13 Nov 2021, 21:49

I have imagemagik (for x86-64 Port 5.0rc3), I try it and report back. :)

Added in 1 day 5 hours 48 minutes 48 seconds:
I have GraphicsMagick-1.3.21-x86_64-bundle-STRIPPED.xzm not imagemagick
so I have to type

Code: Select all

gm convert 1.jpg 2.jpg […] whatever.pdf
Works perfectly. Thanks!
Cheers!
Yours Rava

Post Reply