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

Home » Public Forums » archive » Re: resizing image
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: resizing image [message #39037] Mon, 12 April 2004 13:03 Go to previous message
Michael Wallace is currently offline  Michael Wallace
Messages: 409
Registered: December 2003
Senior Member
> # Get screen size
> size = device, GET_SCREEN_SIZE=resolution
>
> # Resize the original image
> new_image = congrid(orig_image, resolution[0], resolution[1])
>
> # Display the new image
> window, XSIZE=resolution[0], YSIZE=resolution[1]
> tv, new_image

Silly me. I've been doing to much Python programming recently -- using
"#" instead of ";" for comments.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3D velocity vectors
Next Topic: vectorising versus loops

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

Current Time: Fri Oct 10 03:29:38 PDT 2025

Total time taken to generate the page: 1.75903 seconds