software : merging JPEGs into PDF - something in MX package installer?  [Solved]

Message
Author
User avatar
hkjz
Posts: 345
Joined: Thu Apr 11, 2019 4:38 pm

software : merging JPEGs into PDF - something in MX package installer?

#1 Post by hkjz »

Hey,

is there a software for merging JPEGs into PDF - something in MX package installer?

MasterPDF do only merging of other PDFs

Thanks

User avatar
Jerry3904
Administrator
Posts: 23546
Joined: Wed Jul 19, 2006 6:13 am

Re: software : merging JPEGs into PDF - something in MX package installer?

#2 Post by Jerry3904 »

You can convert an image to PDF (online, for instance) and then merge the two pdfs. But that probably won't look very good unless you can have the image on its own page.
Production: MX-23 Xfce, AMD FX-4130 Quad-Core, GeForce GT 630/PCIe/SSE2, 16 GB, SSD 120 GB, Data 1TB
Personal: Lenovo X1 Carbon with MX-23 Fluxbox
Other: Raspberry Pi 5 with MX-23 Xfce Raspberry Pi Respin

old_guy
Posts: 140
Joined: Sat Oct 28, 2017 4:30 pm

Re: software : merging JPEGs into PDF - something in MX package installer?

#3 Post by old_guy »

You can open LibreOffice Writer. Drag your pics into it. Resize them as you like. Then Export As PDF.
Earl

User avatar
manyroads
Posts: 2657
Joined: Sat Jun 30, 2018 6:33 pm

Re: software : merging JPEGs into PDF - something in MX package installer?

#4 Post by manyroads »

Try using either pdf arranger or pdf shuffler (both are in mxpi under stable repo)
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

OKie
Posts: 163
Joined: Thu Oct 15, 2020 10:00 am

Re: software : merging JPEGs into PDF - something in MX package installer?

#5 Post by OKie »

Create PDF files from single images:
Single File: Use img2pdf program on command line:
img2pdf filename.jpg > filename.pdf

Also, look up ImageMagick. They have the montage to arrange images on a page: https://legacy.imagemagick.org/Usage/montage/

User avatar
dolphin_oracle
Developer
Posts: 22749
Joined: Sun Dec 16, 2007 12:17 pm

Re: software : merging JPEGs into PDF - something in MX package installer?  [Solved]

#6 Post by dolphin_oracle »

pdf-arranger (preinstalled) can do it if you also install img2pdf (availabe in synaptic).

if the images have an "alpha" channel, I don't think it will work. my jpgs worked great. png files not so much.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
Live system help document: https://mxlinux.org/wiki/help-antix-live-usb-system/

User avatar
Gordon Cooper
Posts: 965
Joined: Mon Nov 21, 2011 4:50 pm

Re: software : merging JPEGs into PDF - something in MX package installer?

#7 Post by Gordon Cooper »

GIMP can resize, crop and otherwise modify image files, then export to pdf.
Backup: Dell9010, MX-19_B2, Win7, 120 SSD, WD 232GIB HD, 4GB RAM
Primary :Homebrew64 bit Intel duo core 2 GB RAM, 120 GB Kingston SSD, Seagate1TB.
MX-18.2 64bit. Also MX17, Kubuntu14.04 & Puppy 6.3.

User avatar
hkjz
Posts: 345
Joined: Thu Apr 11, 2019 4:38 pm

Re: software : merging JPEGs into PDF - something in MX package installer?

#8 Post by hkjz »

dolphin_oracle wrote: Tue Nov 02, 2021 7:55 pm pdf-arranger (preinstalled) can do it if you also install img2pdf (availabe in synaptic).

if the images have an "alpha" channel, I don't think it will work. my jpgs worked great. png files not so much.
Thank you all,
this one will do

Geek3579
Posts: 52
Joined: Sat Aug 22, 2020 2:21 am

Re: software : merging JPEGs into PDF - something in MX package installer?

#9 Post by Geek3579 »

For the record, I believe imagemagick is installed in MX-Linux by default. Its fairly easy to use on the command line:

1) Open a terminal in the directory containing the .JPG or .jpg files
2) Run "convert "*.{JPG}" -quality 100 FILEOUT.PDF" without quotes, using the extension for your situation

This will convert all JPGs to PDFs and combine them in one file, leaving the original JPGs intact.
100 is the dpi - use a larger number for more detail.
To remove all JPGs as well add the following on the same line: " && rm *.JPG"
If you need to convert any .JPG to .jpg so they are all the same use this (without quotes) in the command line: "JPG jpg *.JPG" before running the command in (2).

User avatar
hkjz
Posts: 345
Joined: Thu Apr 11, 2019 4:38 pm

Re: software : merging JPEGs into PDF - something in MX package installer?

#10 Post by hkjz »

Geek3579 wrote: Wed Nov 03, 2021 5:41 am For the record, I believe imagemagick is installed in MX-Linux by default. Its fairly easy to use on the command line:

1) Open a terminal in the directory containing the .JPG or .jpg files
2) Run "convert "*.{JPG}" -quality 100 FILEOUT.PDF" without quotes, using the extension for your situation

This will convert all JPGs to PDFs and combine them in one file, leaving the original JPGs intact.
100 is the dpi - use a larger number for more detail.
To remove all JPGs as well add the following on the same line: " && rm *.JPG"
If you need to convert any .JPG to .jpg so they are all the same use this (without quotes) in the command line: "JPG jpg *.JPG" before running the command in (2).
Awesome,
acutally it is not installed by default,

but it is on the front page of MX Package Installer,
seems good to know,

Thanks

Post Reply

Return to “Software / Configuration”