Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.postscript > #3372

Re: JPEG to PDF question

Newsgroups comp.lang.postscript
Date 2019-04-10 18:01 -0700
References <eli$1904061719@qaz.wtf> <AA2A973D375D4EAC2E284CEEC009E394A9D7@127.0.0.1> <eli$1904071723@qaz.wtf> <jLKdnc8pqJd26jPBnZ2dnUU78UnNnZ2d@brightview.co.uk>
Message-ID <4e10f56d-1b4e-4329-92c2-e4d184c4648c@googlegroups.com> (permalink)
Subject Re: JPEG to PDF question
From luser droog <luser.droog@gmail.com>

Show all headers | View raw


On Wednesday, April 10, 2019 at 6:10:36 PM UTC-5, Javier wrote:
> > $ convert /tmp/statement.jpg /tmp/statement.pdf
> > convert: not authorized `/tmp/statement.pdf' @ error/constitute.c/WriteImage/1028.
> 
> https://github.com/pts/sam2p is a good alternative to imagemagick's
> convert.  'sam2p image.jpg image.pdf' works fine for me.
> 
> >>  gs -sDEVICE=pdfwrite -o out.pdf viewjpeg.ps -c '(in.jpg)viewJPEG'
> 
> The -c and -o options do not appear in the manpage gs(1).
> Are the options documented somewhere else?

-o is a shorthand for -sOutputFile=
-c is for executing PS code. It runs after after any files mentioned
before it. In this case it calls a function defined in viewjpeg.ps.

Back to comp.lang.postscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

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