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

Home » Public Forums » archive » Re: Over 256 colors ???
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: Over 256 colors ??? [message #6533] Mon, 08 July 1996 00:00 Go to previous message
David Foster is currently offline  David Foster
Messages: 341
Registered: January 1996
Senior Member
john@top.utwente.nl (TOP member) wrote:
>
> I have a second question. When I use the function TVRD() the result is an
> array with a resolution less than 256, which I would expect. Does anyone know
> a solution for this?

As stated in the manual, the TVRD() function returns the entire
contents of the current graphics window if no parameters are
provided. You can use the REBIN(), CONGRID() or EXPAND() routines
to enlarge the array if desired.

You can use

array = tvrd( x0, y0, nx, ny )

to read the contents of the graphics window starting at (x0,y0)
(the lower-left corner); nx and ny specify the size of the
rectangle in columns and rows.

Hope this helps.

Dave Foster
foster@bial1.ucsd.edu
[Message index]
 
Read Message
Read Message
Previous Topic: Re: XMANAGER, and loops
Next Topic: U16 bit question

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

Current Time: Wed Oct 08 15:26:25 PDT 2025

Total time taken to generate the page: 0.02188 seconds