Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3368
| Path | csiph.com!weretis.net!feeder6.news.weretis.net!news.linkpendium.com!news.linkpendium.com!panix!qz!not-for-mail |
|---|---|
| From | Eli the Bearded <*@eli.users.panix.com> |
| Newsgroups | comp.lang.postscript |
| Subject | Re: JPEG to PDF question |
| Date | Sun, 7 Apr 2019 21:54:08 +0000 (UTC) |
| Organization | Some absurd concept |
| Lines | 41 |
| Message-ID | <eli$1904071723@qaz.wtf> (permalink) |
| References | <eli$1904061719@qaz.wtf> <AA2A973D375D4EAC2E284CEEC009E394A9D7@127.0.0.1> |
| NNTP-Posting-Host | panix5.panix.com |
| X-Trace | reader2.panix.com 1554674048 13540 166.84.1.5 (7 Apr 2019 21:54:08 GMT) |
| X-Complaints-To | abuse@panix.com |
| NNTP-Posting-Date | Sun, 7 Apr 2019 21:54:08 +0000 (UTC) |
| X-Liz | It's actually happened, the entire Internet is a massive game of Redcode |
| X-Motto | "Erosion of rights never seems to reverse itself." -- kenny@panix |
| X-US-Congress | Moronic Fucks. |
| X-Attribution | EtB |
| XFrom | is a real address |
| Encrypted | double rot-13 |
| User-Agent | Vectrex rn 2.1 (beta) |
| X-Comments | "'Pray that I don't alter the bargain further.' Welcome Darth Google." -- HonorableSoul |
| Xref | csiph.com comp.lang.postscript:3368 |
Show key headers only | View raw
Elsethread, John Forkosh suggested Imagemagick's convert. I did try that, should have mentioned. $ convert /tmp/statement.jpg /tmp/statement.pdf convert: not authorized `/tmp/statement.pdf' @ error/constitute.c/WriteImage/1028. $ ls -ld /tmp/statement.pdf ls: cannot access '/tmp/statement.pdf': No such file or directory $ convert --version Version: ImageMagick 6.8.9-9 Q16 x86_64 2018-09-28 http://www.imagemagick.org Copyright: Copyright (C) 1999-2014 ImageMagick Studio LLC Features: DPC Modules OpenMP Delegates: bzlib cairo djvu fftw fontconfig freetype jbig jng jpeg lcms lqr ltdl lzma openexr pangocairo png rsvg tiff wmf x xml zlib $ This is Ubuntu 16.04.6. All updates as of a week or two ago applied. In comp.lang.postscript, Guy <guy[AT]guysalias[DOT]tk> wrote: > Eli the Bearded wrote: >> I'd like to be able to easily turn JPEGs into PDF. > Can use viewjpeg.ps of Ghostscript distribution. > > gs -sDEVICE=pdfwrite -o out.pdf viewjpeg.ps -c (in.jpg)viewJPEG That works very well, thanks. $ gs -sDEVICE=pdfwrite -o/tmp/statement.pdf viewjpeg.ps -c '(/tmp/statement.jpg)viewJPEG' GPL Ghostscript 9.26 (2018-11-20) Copyright (C) 2018 Artifex Software, Inc. All rights reserved. This software comes with NO WARRANTY: see the file PUBLIC for details. $ ls -l /tmp/statement.* -rw-rw-r-- 1 username username 585211 Apr 6 14:13 /tmp/statement.jpg -rw-rw-r-- 1 username username 587845 Apr 7 14:26 /tmp/statement.pdf $ Elijah ------ wrote himself a wrapper script to remember this
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