comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Postscript dump to a Laserwriter
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Postscript dump to a Laserwriter [message #635 is a reply to message #634] Fri, 18 December 1992 12:16 Go to previous messageGo to previous message
scowen is currently offline  scowen
Messages: 11
Registered: December 1992
Junior Member
Hello all,

well this is a summary of the solution provided by Alan Youngblood at RSI to
the problems I pointed out in my original post. Many thanks go to the
numerous individuals who replied.

1. The problem of tvrd() not grabbing the entire window when the window was
scrollbarred, or off-screen. This can be solved by setting the keyword
RETAIN to 2 in the widget_draw call. It appears to work quite nicely.

2. Producing b/w output in the PS environment from either a rolled color or
b/w window image. Use bits_per_pixel=8, and use the following translation
from tvlct:

bwtable=bytscl(.3*r + .59*g + .11*b)
and then:
tv, bwtable(image)

this does produce a convincing b/w output that a Laserwriter can handle, from
either rolled b/w or color.

3. The use of both of these solutions appears to circumvent the CONTOUR
color problem before, since we don't need to use tvscl anymore.

This does appear to solve all the issues that were plaguing me. Thanks to
all who contributed. I have been told by Youngblood (for all RSI-IDL users
out there) that RSI does NOT receive a newsfeed, and so all questions should
be emailed directly to them as well as being posted here. Summaries of
solutions, such as this, would appear logical.

--
------------------------------------------------------------ -------------------
Paul A. Scowen INTERNET: scowen@wfpc3.la.asu.edu
Department of Physics & Astronomy uk1@spacsun.rice.edu
Arizona State University Tel: (602) 965-0938
Tempe, AZ 85287-1504 FAX: (602) 965-7954
------------------------------------------------------------ -------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: problems with FFT cross spectra and other floating point operations
Next Topic: Command buffer

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 00:40:27 PDT 2025

Total time taken to generate the page: 0.56284 seconds