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


Groups > comp.lang.postscript > #3293

Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page

From John Forkosh <forkosh@panix.com>
Newsgroups comp.lang.postscript
Subject Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page
Date 2018-08-05 08:30 +0000
Organization PANIX Public Access Internet and UNIX, NYC
Message-ID <pk6cid$qrm$1@reader1.panix.com> (permalink)
References <pjv87o$q9s$1@reader1.panix.com> <43bfb5cc-97e7-4e99-badd-4e5276c2fb6f@googlegroups.com> <pk4g2r$9nv$1@reader1.panix.com> <eli$1808041959@qaz.wtf>

Show all headers | View raw


Eli the Bearded <*@eli.users.panix.com> wrote:
> In comp.lang.postscript, John Forkosh  <forkosh@panix.com> wrote:
>> Sorry, no. When I said "gs >>does<< work" (if that's what your
>> inference's based on), I meant that ps2pdf works doing the
>> eponymous ps-->pdf conversion. The input ps file itself is
>> generated by a compiled C program running as a cgi on the web.
> 
> Imagemagick's convert can do PS to raster, but it does use ghostscript
> behind the scenes. That suggests you might be able to use the
> Imagemagick library in your program and just generate raster on the fly.
> (Might require including .so files or finding a way to statically link
> the program.)

> Elijah
> ------
> and imagemagick is very popular, dreamhost may have it already

Yeah, and I've used convert to generate pbm's via popen() in C programs,
and read/parse the output to construct actual bitmap rasters of gif
(and occasionally ps) images I wanted to further manipulate.
And that does work fine, but convert'ing ps isn't what I'm looking for.
   On the other hand, maybe if I can run gv in an html <iframe>, passing
it a filename to view, that might just do the trick.
-- 
John Forkosh  ( mailto:  j@f.com  where j=john and f=forkosh )

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


Thread

ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-02 15:33 +0000
  Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Reiser <vendor@BitWagon.com> - 2018-08-03 16:59 -0700
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-04 09:08 +0000
  Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page luser droog <luser.droog@gmail.com> - 2018-08-04 07:10 -0700
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-04 15:17 +0000
      Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Eli the Bearded <*@eli.users.panix.com> - 2018-08-04 23:59 +0000
        Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-05 08:30 +0000
    Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-05 07:58 +0000
      Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Jean-Francois Moine <moinejf@free.fr> - 2018-08-17 18:36 +0200
        Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-18 12:51 +0000
          Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page Jean-Francois Moine <moinejf@free.fr> - 2018-08-18 20:22 +0200
            Re: ps viewer, like ViewerJS, that can embed an <iframe> in an html page John Forkosh <forkosh@panix.com> - 2018-08-21 09:07 +0000

csiph-web