Xref: utzoo comp.windows.news:2641 comp.lang.postscript:9143 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!spool.mu.edu!uunet!sbi!zeuswtc!hera!soozie.sbi.com From: daveo@soozie.sbi.com (Dave Bloom) Newsgroups: comp.windows.news,comp.lang.postscript Subject: Boundaries on rasterized files Message-ID: <696@soozie.hera.Sbi.Com> Date: 26 Jun 91 21:49:24 GMT Sender: daveo@hera.Sbi.Com Followup-To: comp.windows.news Organization: Salomon Brothers, NY Lines: 28 Hi folks. I'm using the OpenWindows server as a filter to rasterize postscript one page at a time. (I do this by redefining showpage, and having it dump the rasterfile into a file instead of paint it on a mapped can- vas) I'm doing this because previewers like pageview depend on Adobe compliant structuring schemes, which most of our stuff does not com- ply with. Without looking at the postscript comments, is there a way for me to determine the size of the raster (and hence its portrait/landscape orientation and page size)? What I envisioned, was creating a large canvas, rendering the postscript into the canvas, and then calling some routine that could determine the boundaries of the raster. Is this possible? Any ideas on how I can do this or do this better? Please respond by e-mail... again, I rarely read this group. (Though I should.) Thanx. ------------------------------------------------------------------------------ Dave Bloom "I know that the hypnotized never lie... do ya?" Salomon Brothers | voice: (212) 747-6589 | zip: daveo 1 NY Plaza (43rd Fl) | fax: (212) 742-2247 | inet: daveo@soozie.sbi.com New York, NY 10004 | | dave@andromeda.rutgers.edu