Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3376
| From | Eli the Bearded <*@eli.users.panix.com> |
|---|---|
| Newsgroups | comp.lang.postscript |
| Subject | Re: JPEG to PDF question |
| Date | 2019-04-12 00:33 +0000 |
| Organization | Some absurd concept |
| Message-ID | <eli$1904112032@qaz.wtf> (permalink) |
| References | <eli$1904061719@qaz.wtf> <AA2A973D375D4EAC2E284CEEC009E394A9D7@127.0.0.1> <87d0lsfbjr.fsf@hemphills.net> |
In comp.lang.postscript, Scott Hemphill <hemphill@alumni.caltech.edu> wrote: > You can also use netpbm tools, along with Ghostscript's ps2pdf: > > djpeg in.jpg | pnmtops | ps2pdf - out.pdf > > In my CentOS distribution, djpeg is from libjpeg-turbo-utils, > pnmtops is from netpbm-progs, and ps2pdf was already installed from > ghostscript. Hmmm. I have all of those installed, but I deleted the statement.jpg I was using for the previous testing. Using a different JPEG from my temp directory I see: 81K JPEG -> djpeg -> 958K PPM (binary encoded raw bitmap) 958K PPM -> pnmtops -> 2.0M PS (ascii encoded raw bitmap) 2.0M PS -> ps2pdf -> 41K PDF (embedded binary JPEG) And the PS has the image rotated ninety degrees counter-clockwise (which, naturally, remains turned in the PDF). The image in this case was landscape format, and is now portrait format. My statement.jpg had been portrait oriented to begin with. The PDF has a lot of JPEG artifacts. I'd probably want to check the output carefully if using this for submitting photos of documents through web portals. Elijah ------ didn't see any options for selecting JPEG compression
Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar
JPEG to PDF question Eli the Bearded <*@eli.users.panix.com> - 2019-04-06 21:33 +0000
Re: JPEG to PDF question John Forkosh <forkosh@panix.com> - 2019-04-07 06:39 +0000
Re: JPEG to PDF question Guy <guy@guysalias.tk.invalid> - 2019-04-07 14:52 -0500
Re: JPEG to PDF question Eli the Bearded <*@eli.users.panix.com> - 2019-04-07 21:54 +0000
Re: JPEG to PDF question ken <ken@spamcop.net> - 2019-04-08 10:30 +0100
Re: JPEG to PDF question Martin Leese <please@see.Web.for.e-mail.INVALID> - 2019-04-08 10:24 -0600
Re: JPEG to PDF question Javier <invalid@invalid.invalid> - 2019-04-10 18:10 -0500
Re: JPEG to PDF question luser droog <luser.droog@gmail.com> - 2019-04-10 18:01 -0700
Re: JPEG to PDF question ken <ken@spamcop.net> - 2019-04-11 10:50 +0100
Re: JPEG to PDF question Scott Hemphill <hemphill@hemphills.net> - 2019-04-11 17:59 -0400
Re: JPEG to PDF question luser droog <luser.droog@gmail.com> - 2019-04-11 16:03 -0700
Re: JPEG to PDF question Eli the Bearded <*@eli.users.panix.com> - 2019-04-12 00:33 +0000
Re: JPEG to PDF question Mark Carroll <mtbc@bcs.org> - 2019-04-12 07:15 +0100
Re: JPEG to PDF question orr721@gmail.com - 2019-06-16 07:11 -0700
csiph-web