JPEG to PDF on Linux?
One way I've been doing this is by importing the JPEGS to Open Office and then printing it as PDF. Is there any other way of doing it? especially when I need to get each JPEG on a page of PDF...
|
Hi.
It's not very elegant, but you could use 'a2ps' to convert the JPEGs to PostScript, then use ps2pdf to convert the PostScript to PDF. e.g. #!/bin/bash a2ps -o out.ps inputjpeg.jpg ps2pdf out.ps That will leave you with a PDF called out.pdf You'll have to look at the man pages for both programs to fine tune the presentation, but it does work. You'll also have to have ImageMajick installed to do the conversion from JPEG to PostScript. (It's probably installed already). Dave |
The ImageMagick package also has a program called 'convert' which converts image formats, including JPEG and PDF.
|
Good call.
|
XnView does conversion in an easy and quick way. From and to most any format. Get yours at:
http://www.xnview.com/ |
Oops. Sorry. Apparently it does not do PDF...
|
All times are GMT -5. The time now is 02:26 AM. |