Graphics Problem RunRev and Terminal Server (Newbie)

Ken Ray kray at sonsothunder.com
Mon Dec 22 00:05:39 EST 2003


> I have an app that runs fine on PC and MAC, but we are porting it to run on
> Microsoft Terminal Server.
> 
> The problem is thus:
> 
> We display images on a welcome screen and they get corrupted (Like when you
> set your display resolution wrong)

Do you know if the image is embedded or referenced? If you don't know, you
can open the stack in Revolution and put "put the filename of image
<imageName>" into the message box and see if it comes back with a path.  If
it does, it's referenced; if it comes back empty, it's embedded.
 
> We preview an image that we wish to upload and the display of that image is
> corrupt, although the uploaded file is fine.
> 
> If we set the terminal server session down to 256 colour, the image displays
> correctly, although with the obvious display limitations. Mostly its black and
> white, so this isn't too important. When we upload the image however, it is
> totally black.
> 
> When we set the terminal server to 16 or 24 bit colour we get the display
> corruption. I queried the display properties through a stack, and it reports
> PseudoColor.

Psuedocolor is reported by checking the "screenType" in Rev, and is usually
reported when the screen type of the main screen is 256 colors or less
(AFAIK). Is the PC that you're viewing via Terminal Server set to 256
colors? If so, it won't matter what you set your TS session to... I'd check
the Display properties of the Windows box your TS'ing into to see if it is
set for True or High color and if not, to set it that way.

Another way would be to ask for the "screenDepth" from the Rev app running
and see if it comes back with a value higher than 8, or by asking for the
"screenColors" and seeing what it gets back.

BTW: Both of these can be queried by opening up the Message Box and typing:

  put the screenDepth

or

  put the screenColors

and hitting Enter.

HTH,


Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com



More information about the use-livecode mailing list