🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #6646

How to get SIZE (width & height) of postscript image ??

#6646
From: Samir K Patel
Date: Tue, 12 Jan 1993 06:27
20 lines
1253 bytes
  Hi Postscript Gurus,

  I have one of the most basic question about postscript image file.
  I need to convert postscript image to some other format (gif).
  I don't know the size of postscript image ( width & height ).
  Also size is not mentioned in postscript file that I can get from
  postscript file by viewing the file.

  What I need is some kind of commnad, converter or viewing software
  for postscript which can give me the size og postscript image so
  that I can conver to some other format using pbmplus command psidtopgm
  and from pgm to ppm to gif.

  So How can I find SIZE ( width and height ) of  postscript image without
  actually looking  the postscript file, because not all the postscript
  files mention width and height in the code.

  Thanks

  Samir (spatel@cs.tamu.edu)
Technical Details
Message-ID: <1itobpINNh1q@tamsun.tamu.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!swrinde!dptspd!tamsun.tamu.edu!spatel

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sdd.hp.com!swrinde!dptspd!tamsun.tamu.edu!spatel
From: spatel@cs.tamu.edu (Samir K Patel)
Newsgroups: comp.lang.postscript
Subject: How to get SIZE (width & height) of postscript image ??
Date: 12 Jan 1993 06:27:05 GMT
Organization: Computer Science Department, Texas A&M University
Lines: 22
Distribution: y
Message-ID: <1itobpINNh1q@tamsun.tamu.edu>
NNTP-Posting-Host: solar.tamu.edu